<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0053)http://blog.csdn.net/xyz_lmn/article/details/38667899 -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">   
   

    <script type="text/javascript" async="" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ocom"></script><script type="text/javascript" async="" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ocom(1)"></script><script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/tracking.js" charset="utf-8"></script>  

    <script type="text/javascript">
        var protocol = window.location.protocol;
        document.write('<script type="text/javascript" src="' + protocol + '//csdnimg.cn/pubfooter/js/repoAddr2.js?v=' + Math.random() + '"></' + 'script>');
    </script><script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/repoAddr2.js"></script>

  
 <meta http-equiv="Cache-Control" content="no-siteapp"><link rel="alternate" media="handheld" href="http://blog.csdn.net/xyz_lmn/article/details/38667899#">

    <title>android 动画分类 - 张兴业的博客
        - 博客频道 - CSDN.NET</title>
    
    <meta name="description" content="主要是看这个页面：http://www.sable.mcgill.ca/soot/tutorial/index.html 中第二栏“Using Soot as a Compiler Framework”中的最基础的教程：Creating a Class File from Scratch，这个教程的PDF文件可以点击此处下载。通过昨天的学习，明白了这个教程的意义，是通过手动调用Soot">
    <script src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/jquery.js" type="text/javascript"></script>
      <script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/jquery-version.js"></script>
    <script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ad.js"></script>
        <!--new top-->
       
        <link rel="stylesheet" href="http://c.csdnimg.cn/public/common/toolbar/css/index.css">
        <!--new top-->
    
      <!-- ad begin -->
         <script language="javascript" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/tracking(1).js"></script>
    <!-- ad end-->

    <link rel="Stylesheet" type="text/css" href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/style.css">
    <link id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="http://blog.csdn.net/xyz_lmn/rss/list">
    <link rel="shortcut icon" href="http://c.csdnimg.cn/public/favicon.ico">
    <link type="text/css" rel="stylesheet" href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/blue.css">
 


<style type="text/css">.MathJax_Hover_Frame {border-radius: .25em; -webkit-border-radius: .25em; -moz-border-radius: .25em; -khtml-border-radius: .25em; box-shadow: 0px 0px 15px #83A; -webkit-box-shadow: 0px 0px 15px #83A; -moz-box-shadow: 0px 0px 15px #83A; -khtml-box-shadow: 0px 0px 15px #83A; border: 1px solid #A6D ! important; display: inline-block; position: absolute}
.MathJax_Hover_Arrow {position: absolute; width: 15px; height: 11px; cursor: pointer}
</style><style type="text/css">#MathJax_About {position: fixed; left: 50%; width: auto; text-align: center; border: 3px outset; padding: 1em 2em; background-color: #DDDDDD; color: black; cursor: default; font-family: message-box; font-size: 120%; font-style: normal; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; -khtml-border-radius: 15px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
.MathJax_Menu {position: absolute; background-color: white; color: black; width: auto; padding: 5px 0px; border: 1px solid #CCCCCC; margin: 0; cursor: default; font: menu; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
.MathJax_MenuItem {padding: 1px 2em; background: transparent}
.MathJax_MenuArrow {position: absolute; right: .5em; color: #666666}
.MathJax_MenuActive .MathJax_MenuArrow {color: white}
.MathJax_MenuArrow.RTL {left: .5em; right: auto}
.MathJax_MenuCheck {position: absolute; left: .7em}
.MathJax_MenuCheck.RTL {right: .7em; left: auto}
.MathJax_MenuRadioCheck {position: absolute; left: .7em}
.MathJax_MenuRadioCheck.RTL {right: .7em; left: auto}
.MathJax_MenuLabel {padding: 1px 2em 3px 1.33em; font-style: italic}
.MathJax_MenuRule {border-top: 1px solid #DDDDDD; margin: 4px 3px}
.MathJax_MenuDisabled {color: GrayText}
.MathJax_MenuActive {background-color: #606872; color: white}
.MathJax_Menu_Close {position: absolute; width: 31px; height: 31px; top: -15px; left: -15px}
</style><style type="text/css">#MathJax_Zoom {position: absolute; background-color: #F0F0F0; overflow: auto; display: block; z-index: 301; padding: .5em; border: 1px solid black; margin: 0; font-weight: normal; font-style: normal; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; box-shadow: 5px 5px 15px #AAAAAA; -webkit-box-shadow: 5px 5px 15px #AAAAAA; -moz-box-shadow: 5px 5px 15px #AAAAAA; -khtml-box-shadow: 5px 5px 15px #AAAAAA; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
#MathJax_ZoomOverlay {position: absolute; left: 0; top: 0; z-index: 300; display: inline-block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
#MathJax_ZoomFrame {position: relative; display: inline-block; height: 0; width: 0}
#MathJax_ZoomEventTrap {position: absolute; left: 0; top: 0; z-index: 302; display: inline-block; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
</style><style type="text/css">.MathJax_Preview {color: #888}
#MathJax_Message {position: fixed; left: 1em; bottom: 1.5em; background-color: #E6E6E6; border: 1px solid #959595; margin: 0px; padding: 2px 8px; z-index: 102; color: black; font-size: 80%; width: auto; white-space: nowrap}
#MathJax_MSIE_Frame {position: absolute; top: 0; left: 0; width: 0px; z-index: 101; border: 0px; margin: 0px; padding: 0px}
.MathJax_Error {color: #CC0000; font-style: italic}
</style><script src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/share.js"></script><link href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/bdsstyle.css" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/job_reco.css"><script type="text/javascript" charset="utf-8" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/main.js"></script><link rel="stylesheet" type="text/css" href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/style(1).css"><link type="text/css" rel="stylesheet" href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/style(2).css"><script src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/logger.js"></script><script src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/get_ads.php" type="text/javascript"></script><link rel="stylesheet" href="http://bdimg.share.baidu.com/static/api/css/share_style0_16.css?v=6aba13f0.css"></head>
<body><div id="BAIDU_DUP_fp_wrapper" style="position: absolute; left: -1px; bottom: -1px; z-index: 0; width: 0px; height: 0px; overflow: hidden; visibility: hidden; display: none;"><iframe id="BAIDU_DUP_fp_iframe" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/o.html" style="width: 0px; height: 0px; visibility: hidden; display: none;"></iframe></div><div id="MathJax_Message" style="display: none;"></div><iframe frameborder="0" style="display: none;"></iframe>
    
   
      <!--new top-->
    <script id="toolbar-tpl-scriptId" fixed="true" prod="blog" skin="black" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/html.js" type="text/javascript"></script><div class="csdn-toolbar csdn-toolbar-skin-black ">        <div class="container row center-block ">          <div class="col-md-3 pull-left logo clearfix"><a href="http://www.csdn.net/?ref=toolbar" title="CSDN首页" target="_blank" class="icon"></a><a title="频道首页" href="http://blog.csdn.net/?ref=toolbar_logo" class="img blog-icon"></a></div>          <div class="pull-right login-wrap unlogin">            <ul class="btns">              <li class="loginlink"><a href="https://passport.csdn.net/account/login?ref=toolbar" target="_top">登录&nbsp;</a>|<a target="_top" href="http://passport.csdn.net/account/mobileregister?ref=toolbar&action=mobileRegister">&nbsp;注册</a></li>              <li class="search">                <div class="icon on-search-icon">                  <div class="wrap">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <form action="http://so.csdn.net/search" method="get" target="_blank">                      <input type="hidden" value="toolbar" name="ref" accesskey="2">                      <div class="border">                        <input placeholder="搜索" type="text" value="" name="q" accesskey="2"><span class="icon-enter-sm"></span>                      </div>                    </form>                  </div>                </div>              </li>              <li class="favor">                <div class="icon on-favor-icon">                  <div class="wrap">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <div style="display:none;" class="favor-success"><span class="msg">收藏成功</span>                      <div class="btns"><span class="btn btn-primary ok">确定</span></div>                    </div>                    <div style="display:none;" class="favor-failed"><span class="icon-danger-lg"></span><span class="msg">收藏失败，请重新收藏</span>                      <div class="btns"><span class="btn btn-primary ok">确定</span></div>                    </div>                    <form role="form" class="form-horizontal favor-form">                      <div class="form-group">                        <div class="clearfix">                          <label for="input-title" class="col-sm-2 control-label">标题</label>                          <div class="col-sm-10">                            <input id="inputTitle" type="text" placeholder="" class="title form-control">                          </div>                        </div>                        <div class="alert alert-danger"><strong></strong>标题不能为空</div>                      </div>                      <div class="form-group">                        <label for="input-url" class="col-sm-2 control-label">网址</label>                        <div class="col-sm-10">                          <input id="input-url" type="text" placeholder="" class="url form-control">                        </div>                      </div>                      <div class="form-group">                        <label for="input-tag" class="col-sm-2 tag control-label">标签</label>                        <div class="col-sm-10">                          <input id="input-tag" type="text" class="form-control tag">                        </div>                      </div>                      <div class="form-group">                        <label for="input-description" class="description col-sm-2 control-label">摘要</label>                        <div class="col-sm-10">                          <textarea id="input-description" class="form-control description"></textarea>                        </div>                      </div>                      <div class="form-group">                        <div class="col-sm-offset-2 col-sm-10 ft">                          <div class="col-sm-4 pull-left">                            <div class="checkbox">                              <label>                                <input type="checkbox" name="share" checked="checked" class="share">公开                              </label>                            </div>                          </div>                          <div class="col-sm-8 pull-right favor-btns">                            <button type="button" class="cancel btn btn-default">取消</button>                            <button type="submit" class="submit btn btn-primary">收藏</button>                          </div>                        </div>                      </div>                    </form>                  </div>                </div>              </li>              <li class="notify">                <div style="display:none" class="number"></div>                <div style="display:none" class="icon-hasnotes-sm"></div>                <div id="header_notice_num"></div>                <div class="icon on-notify-icon">                  <div class="wrap">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <div id="note1" class="csdn_note">                      <div class="box"></div>                    <iframe src="about:block" frameborder="0" allowtransparency="true" style="z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;background:transparent"></iframe></div>                  </div>                </div>              </li>              <li class="ugc">                <div class="icon on-ugc-icon">                  <div class="wrap clearfix">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <dl>                      <dt><a href="http://geek.csdn.net/news/expert?ref=toolbar" target="_blank" class="p-news clearfix" style="display:none;"><em class="icon"></em><span>分享资讯</span></a></dt>                      <dt style="border: none;"><a href="http://u.download.csdn.net/upload?ref=toolbar" target="_blank" class="p-doc clearfix"><em class="icon"></em><span>传PPT/文档</span></a></dt>                      <dt><a href="http://bbs.csdn.net/topics/new?ref=toolbar" target="_blank" class="p-ask clearfix"><em class="icon"></em><span>提问题</span></a></dt>                      <dt><a href="http://write.blog.csdn.net/postedit?ref=toolbar" target="_blank" class="p-blog clearfix"><em class="icon"></em><span>写博客</span></a></dt>                      <dt><a href="http://u.download.csdn.net/upload?ref=toolbar" target="_blank" class="p-src clearfix"><em class="icon"></em><span>传资源</span></a></dt>                      <dt><a href="https://code.csdn.net/projects/new?ref=toolbar" target="_blank" class="c-obj clearfix"><em class="icon"></em><span>创建项目</span></a></dt>                      <dt><a href="https://code.csdn.net/snippets/new?ref=toolbar" target="_blank" class="c-code clearfix"><em class="icon"></em><span>创建代码片</span></a></dt>                    </dl>                  </div>                </div>              </li>              <li class="profile">                <div class="icon on-profile-icon"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/100x100.jpg" class="curr-icon-img">                  <div class="wrap clearfix">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                    <div class="bd">                      <dl class="clearfix">                        <dt class="pull-left img"><a target="_blank" href="http://my.csdn.net/?ref=toolbar" class="avatar"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/100x100.jpg"></a></dt>                        <dd class="info" style="border: none;"><a target="_blank" href="http://my.csdn.net/?ref=toolbar" class="nickname"></a><a class="set-nick" href="https://passport.csdn.net/account/profile">设置昵称<span class="write-icon"></span></a><span class="dec"><a class="fill-dec" href="http://my.csdn.net/" target="_blank">编辑自我介绍，让更多人了解你<span class="write-icon"></span></a></span></dd>                      </dl>                    </div>                    <div class="ft clearfix"><a target="_blank" href="http://my.csdn.net/my/account/changepwd?ref=toolbar" class="pull-left"><span class="icon-cog"></span>帐号设置</a><a href="https://passport.csdn.net/account/logout?ref=toolbar" target="_top" class="pull-left" style="margin-left:132px; width:18px; height:27px; white-space:nowrap; overflow:hidden;"><span class="icon-signout"></span><span class="out">退出</span></a></div>                  </div>                </div>              </li>              <li class="apps">                <div id="chasnew123" class="hasnew" style="display: none;"></div>                <div id="cappsarea123" class="icon on-apps-icon">                  <div class="wrap clearfix">                    <div class="curr-icon-wrap">                      <div class="curr-icon"></div>                    </div>                  <div class="detail">                    <dl>                      <dt>                        <h5>社区</h5>                      </dt>                      <dd> <a href="http://blog.csdn.net/?ref=toolbar" target="_blank">博客</a></dd>                      <dd> <a href="http://bbs.csdn.net/?ref=toolbar" target="_blank">论坛</a></dd>                      <dd> <a href="http://download.csdn.net/?ref=toolbar" target="_blank">下载</a></dd>                      <dd><a href="http://ask.csdn.net/?ref=toolbar" target="_blank">技术问答</a></dd>                      <dd><a href="http://geek.csdn.net/?ref=toolbar" target="_blank">极客头条</a></dd>                      <dd style="display:none"> <a href="http://hero.csdn.net/?ref=toolbar" target="_blank">英雄会</a></dd>                    </dl>                  </div>                  <div class="detail">                    <dl>                      <dt>                        <h5>服务</h5>                      </dt>                      <dd style="display:none"> <a href="http://job.csdn.net/?ref=toolbar" target="_blank">JOB<img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/new.gif" style="display: none; margin-top: -26px; width: 23px;"></a></dd>                      <dd> <a href="http://edu.csdn.net/?ref=toolbar" target="_blank">学院<img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/new.gif" style="display: none; margin-top: -26px; width: 23px;"></a></dd>                      <dd> <a href="https://code.csdn.net/?ref=toolbar" target="_blank">CODE</a></dd>                      <dd> <a href="http://huiyi.csdn.net/?ref=toolbar" target="_blank">活动</a></dd>                      <dd> <a href="http://www.csto.com/?ref=toolbar" target="_blank">CSTO</a></dd>                      <dd> <a href="http://mall.csdn.net/?ref=toolbar" target="_blank">C币兑换<img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/new.gif" style="display: none; margin-top: -26px; width: 23px;"></a></dd>                    </dl>                  </div>                  <div class="detail last">                    <dl>                      <dt>                        <h5>俱乐部</h5>                      </dt>                      <dd> <a href="http://cto.csdn.net/?ref=toolbar" target="_blank">CTO俱乐部</a></dd>                      <dd> <a href="http://student.csdn.net/?ref=toolbar" target="_blank">高校俱乐部</a></dd>                    </dl>                  </div>                </div>              </div>            </li>            </ul>          </div>        </div>    </div>
     <!--new top-->
    <div id="container">
        <div id="header">
    <div class="header">
        <div id="blog_title">
            <h2>
                <a href="http://blog.csdn.net/xyz_lmn">张兴业的博客</a></h2>
            <h3>会设计的程序员和会编程的设计师,专注移动互联网。</h3>
            <div class="clear">
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</div>
<div id="navigator">
    <div class="navigator_bg">
    </div>
    <div class="navigator">
        <ul>
            
                <li id="btnContents"><a href="http://blog.csdn.net/xyz_lmn?viewmode=contents"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_mulu&#39;])">
                    <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ico_list.gif">目录视图</span></a></li>
                <li id="btnView"><a href="http://blog.csdn.net/xyz_lmn?viewmode=list"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_zhaiyao&#39;])">
                    <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ico_summary.gif">摘要视图</span></a></li>
                <li id="btnRss"><a href="http://blog.csdn.net/xyz_lmn/rss/list"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_RSS&#39;])">
                    <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ico_rss.gif">订阅</span></a></li>                

            </ul>
    </div>
</div>
<script type="text/javascript">
    var username = "xyz_lmn";
    var _blogger = username;
    var blog_address = "http://blog.csdn.net/xyz_lmn";
    var static_host = "http://static.blog.csdn.net";
    var currentUserName = "";  
</script>

        <div id="body">
            <div id="main">
                <div class="main">
                        <div class="ad_class">
<div class="notice tracking-ad" data-mod="popu_3"> 

<a href="http://bbs.csdn.net/topics/391926027" target="_blank">
<font color="red">2016攒课第二期之你听课我买单，快来攒你想听的课！
</font></a>
&nbsp;&nbsp;&nbsp;
<a href="http://edu.csdn.net/huiyiCourse/detail/85" target="_blank">
<font color="blue">架构免费公开课报名</font></a>
&nbsp;&nbsp;&nbsp;
<a href="http://huiyi.csdn.net/activity/product/goods_list?project_id=2895" target="_blank">
<font color="red">【UDN沙龙】Intel大拿分享HTML5时代的跨平台开发解
</font></a>


</div>                        </div>
                        



<!-- 广告位开始 -->
<div class="J_adv" data-view="true" data-mod="ad_popu_72" data-mtp="40" data-order="40" data-con="ad_content_217" style="width: 1px; height: 1px; position: fixed; right: 10px; bottom: 10px; background-color: transparent;"><div id="location_parent"></div><script>document.getElementById('location_parent').parentNode.style.height='1px';document.getElementById('location_parent').parentNode.style.width='1px';document.getElementById('location_parent').parentNode.style.position='fixed';document.getElementById('location_parent').parentNode.style.right='10px';document.getElementById('location_parent').parentNode.style.bottom='10px';document.getElementById('location_parent').parentNode.style.backgroundColor='transparent';</script><!-- 广告占位容器 --><!-- 投放代码 --><script type="text/javascript">(window['cproStyleApi'] = window['cproStyleApi'] || {})['u2392861']={at:'3',rsi0:'300',rsi1:'250',pat:'17',tn:'baiduCustNativeAD_xuanfu',rss1:'#FFFFFF',conBW:'1',adp:'1',ptt:'0',titFF:'%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91',titFS:'14',rss2:'#000000',titSU:'0'};/*服务器频道首页置顶Banner960*90，创建于2014-7-3*/(window.cproArray = window.cproArray || []).push({id:'u2392861'});  </script>  <script src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/f.js" type="text/javascript"></script></div>
<!-- 广告位结束 -->

  
<link href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/comment1.css" type="text/css" rel="stylesheet">
<link href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/style1.css" type="text/css" rel="stylesheet">
<script language="JavaScript" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/jquery.cookie.js"></script>
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/main(1).js"></script>
<link rel="stylesheet" href="http://static.blog.csdn.net/public/res-min/markdown_views.css?v=1.0">
<link rel="stylesheet" href="http://static.blog.csdn.net/css/category.css?v=1.0">
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/MathJax.js"></script>

 <script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/web-storage-cache.min.js"></script>

<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/web-storage-cache.min.js"></script>
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/replace.min.js"></script>

  <script type="text/ecmascript">
      window.quickReplyflag = true;
           
            var isBole = false;
            
          
    </script>
<div id="article_details" class="details">
    <div class="article_title">   
         <span class="ico ico_type_Original"></span>


    <h1>
        <span class="link_title"><a href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET.html">
        android 动画分类            
        </a></span>
    </h1>
</div>

   

        <div class="article_manage clearfix">
        <div class="article_r">
            <span class="link_postdate">2014-08-19 23:22</span>
            <span class="link_view" title="阅读次数">16723人阅读</span>
            <span class="link_comments" title="评论次数"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#comments" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_pinglun&#39;])">评论</a>(12)</span>
            <span class="link_collect tracking-ad" data-mod="popu_171"> <a href="javascript:void(0);" onclick="javascript:collectArticle(&#39;android 动画分类&#39;,&#39;38667899&#39;);return false;" title="收藏" target="_blank">收藏</a></span>
             <span class="link_report"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" onclick="javascript:report(38667899,2);return false;" title="举报">举报</a></span>

        </div>
    </div>
    <div class="embody" style="display:none" id="embody">
        <span class="embody_t">本文章已收录于：</span>
        <div class="embody_c" id="lib" value="{&quot;err&quot;:0,&quot;msg&quot;:&quot;ok&quot;,&quot;data&quot;:[]}"></div>
    </div>
    <style type="text/css">        
            .embody{
                padding:10px 10px 10px;
                margin:0 -20px;
                border-bottom:solid 1px #ededed;                
            }
            .embody_b{
                margin:0 ;
                padding:10px 0;
            }
            .embody .embody_t,.embody .embody_c{
                display: inline-block;
                margin-right:10px;
            }
            .embody_t{
                font-size: 12px;
                color:#999;
            }
            .embody_c{
                font-size: 12px;
            }
            .embody_c img,.embody_c em{
                display: inline-block;
                vertical-align: middle;               
            }
             .embody_c img{               
                width:30px;
                height:30px;
            }
            .embody_c em{
                margin: 0 20px 0 10px;
                color:#333;
                font-style: normal;
            }
    </style>
    <script type="text/javascript">
        $(function () {
            var lib = eval("("+$("#lib").attr("value")+")");
            var html = "";
            if (lib.err == 0) {
                $.each(lib.data, function (i) {
                    var obj = lib.data[i];
                    //html += '<img src="' + obj.logo + '"/>' + obj.name + "&nbsp;&nbsp;";
                    html += ' <a href="' + obj.url + '" target="_blank">';
                    html += ' <img src="' + obj.logo + '">';
                    html += ' <em><b>' + obj.name + '</b></em>';
                    html += ' </a>';
                });
                if (html != "") {
                    setTimeout(function () {
                        $("#lib").html(html);
                        /*
                        var testhtml = "";
                        testhtml += '<a href="#">';
                        testhtml += '<img src="http://img.knowledge.csdn.net/upload/base/1455589744328_328.jpg">';
                        testhtml += '<em>Android知识库</em>';
                        testhtml += '</a>';
                        $(".embody_c").html(testhtml);
                        */
                        $("#embody").show();
                    }, 100);
                }
            }          
            
        });
    </script>
      <div class="category clearfix">
        <div class="category_l">
           <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/category_icon.jpg">
            <span>分类：</span>
        </div>
        <div class="category_r">
                    <label onclick="GetCategoryArticles(&#39;912146&#39;,&#39;xyz_lmn&#39;,&#39;top&#39;,&#39;38667899&#39;);">
                        <span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_fenlei&#39;]);">android UI（常用）<em>（66）</em></span>
                      <img class="arrow-down" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/arrow_triangle _down.jpg" style="display:inline;">
                      <img class="arrow-up" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/arrow_triangle_up.jpg" style="display:none;">
                        <div class="subItem">
                            <div class="subItem_t"><a href="http://blog.csdn.net/xyz_lmn/article/category/912146" target="_blank">作者同类文章</a><i class="J_close">X</i></div>
                            <ul class="subItem_l" id="top_912146">                            
                            </ul>
                        </div>
                    </label>                    
        </div>
    </div>
    <script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/category.js"></script>  
        <div class="bog_copyright">         
            <p class="copyright_p">版权声明：本文为博主原创文章，未经博主允许不得转载。</p>
        </div>

  

  
  
     

<div style="clear:both"></div><div style="border:solid 1px #ccc; background:#eee; float:left; min-width:200px;padding:4px 10px;"><p style="text-align:right;margin:0;"><span style="float:left;">目录<a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" title="系统根据文章中H1到H6标签自动生成文章目录">(?)</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" onclick="javascript:return openct(this);" title="展开">[+]</a></p><ol style="display:none;margin-left:14px;padding-left:14px;line-height:160%;"><li><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#t0">Property Animation</a></li><li><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#t1">View Animation&nbsp;</a></li><ol><li><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#t2">Tween&nbsp;Animation</a></li><li><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#t3">Interpolators</a></li><ol><li><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#t4">Custom interpolators</a></li></ol><li><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#t5">Frame animation</a></li></ol></ol></div><div style="clear:both"></div><div id="article_content" class="article_content">
<p><span style="font-family:SimSun;font-size:18px;"><span style="color: rgb(50, 51, 51);">&nbsp; &nbsp; Android 平台提供了一套完整的动画框架，在Android3.0之前有两种动画，</span>一种方式是补间动画 Tween Animation、另一种叫逐帧动画 Frame Animation（也称<span style="color: rgb(50, 51, 51); background-color: rgb(249, 249, 249);">Drawable Animation&nbsp;</span>）。这两种在《&nbsp;Android UI开发第十二篇——动画效果Animation》、《Android UI开发第四十一篇——墨迹天气3.0引导界面及动画实现》中都有说明。Android3.0以后增加了属性动画&nbsp;<span style="color: rgb(50, 51, 51);">Property Animation。这样子动画就分成两部分：</span></span></p><p style="text-align: center;"><span style="font-family:SimSun;font-size:18px;"><span style="color: rgb(50, 51, 51);"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20140818221609468" alt=""><br></span></span></p><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><p style="text-align: left;"><span style="font-family:SimSun;font-size:18px;"><span style="color: rgb(50, 51, 51);"><span style="font-size: 18px; font-family: SimSun;">Tween Animation、Frame Animation只能用于View，被归类为View Animation。</span></span></span></p></blockquote><p style="text-align: left;"><br></p><h2 style="text-align: left;"><a name="t0"></a><span style="font-family:SimSun;font-size:24px;"><span style="background-color: rgb(255, 255, 255);">Property Animation</span></span></h2><span style="font-family: SimSun;font-size:18px;">&nbsp; &nbsp; &nbsp;Property Animation可以定义在xml文件中，它用来在设定的时间内修改对象的属性。</span><span style="font-family: SimSun;font-size:18px;">例如背景颜色和alpha的值。</span><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><p style="text-align: left;"></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;">这些xml文件定义的文件路径如下：&nbsp;res/animator/<em>filename</em>.xm</span></span></p><p style="text-align: left;"></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;">常用java类：&nbsp;ValueAnimator,&nbsp;ObjectAnimator, or&nbsp;AnimatorSet.</span></span></p><p style="text-align: left;"></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;">Property Animation定义在android.animation包种。</span></span></p><p style="text-align: left;"></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;">Property Animation的文件可以以资源的形式引用：</span></span></p><p style="text-align: left;"></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;">In Java:&nbsp;R.animator.<em>filename<br></em></span></span></p><p style="text-align: left;"></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;">In XML:&nbsp;@[<em>package</em>:]animator/<em>filename<br></em></span></span></p><p style="text-align: left;"></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;">举例看一下Property Animation的xml文件：</span></span></p></blockquote><p style="text-align: left;"><span style="font-family:SimSun;font-size:18px;"><span style="font-size: 26px; font-family: &#39;Helvetica Light&#39;;"></span></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 1287px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_1" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_1" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=1&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">set</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;<span class="attribute">android:ordering</span><span>=["together"&nbsp;|&nbsp;"sequentially"]]]</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;</span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">objectAnimator</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:propertyName</span><span>=</span><span class="attribute-value">"string"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"int"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:valueFrom</span><span>=</span><span class="attribute-value">"float&nbsp;|&nbsp;int&nbsp;|&nbsp;color"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:valueTo</span><span>=</span><span class="attribute-value">"float&nbsp;|&nbsp;int&nbsp;|&nbsp;color"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:startOffset</span><span>=</span><span class="attribute-value">"int"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:repeatCount</span><span>=</span><span class="attribute-value">"int"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:repeatMode</span><span>=["repeat"&nbsp;|&nbsp;"reverse"]&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:valueType</span><span>=["intType"&nbsp;|&nbsp;"floatType"]</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;</span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">animator</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"int"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:valueFrom</span><span>=</span><span class="attribute-value">"float&nbsp;|&nbsp;int&nbsp;|&nbsp;color"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:valueTo</span><span>=</span><span class="attribute-value">"float&nbsp;|&nbsp;int&nbsp;|&nbsp;color"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:startOffset</span><span>=</span><span class="attribute-value">"int"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:repeatCount</span><span>=</span><span class="attribute-value">"int"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:repeatMode</span><span>=["repeat"&nbsp;|&nbsp;"reverse"]&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:valueType</span><span>=["intType"&nbsp;|&nbsp;"floatType"]</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;</span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">set</span><span>]]</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...&nbsp;&nbsp;</span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;/</span><span class="tag-name">set</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;/</span><span class="tag-name">set</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="color: rgb(50, 51, 51); background-color: rgb(249, 249, 249); display: none;">&lt;set
  android:ordering=["together" | "sequentially"]]]&gt;

    &lt;objectAnimator
        android:propertyName="string"
        android:duration="int"
        android:valueFrom="float | int | color"
        android:valueTo="float | int | color"
        android:startOffset="int"
        android:repeatCount="int"
        android:repeatMode=["repeat" | "reverse"]
        android:valueType=["intType" | "floatType"]/&gt;

    &lt;animator
        android:duration="int"
        android:valueFrom="float | int | color"
        android:valueTo="float | int | color"
        android:startOffset="int"
        android:repeatCount="int"
        android:repeatMode=["repeat" | "reverse"]
        android:valueType=["intType" | "floatType"]/&gt;

    &lt;set]]&gt;
        ...
    &lt;/set&gt;
&lt;/set&gt;</pre><br><p></p><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; 文件需要有根元素，可以使用&lt;set&gt;,&nbsp;&lt;objectAnimator&gt;, or&nbsp;&lt;valueAnimator&gt;.&nbsp;</span></span><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">&lt;set&gt;可以作为一个集合，而且集合中还可以存在&lt;set&gt;元素。</span></span></p><span style="font-family:SimSun;font-size:18px;"><span style="color:#323333;font-size: 26px; font-family: &#39;Helvetica Light&#39;; background-color: rgb(249, 249, 249);"><span style="font-size: 13px; font-family: Arial;"></span></span><br></span><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; 关于&lt;set&gt;,&nbsp;&lt;objectAnimator&gt;, &nbsp;&lt;valueAnimator&gt;属性的介绍<a target="_blank" href="http://developer.android.com/guide/topics/resources/animation-resource.html#Property">可以参考</a>。</span></span></p><span style="font-family:SimSun;font-size:18px;"><span style="color:#323333;font-size: 26px; font-family: &#39;Helvetica Light&#39;; background-color: rgb(249, 249, 249);"><span style="font-size: 13px; font-family: Arial;"></span></span><br></span><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">Property Animation的使用：</span></span></p><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);"></span></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 2005px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_2" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_2" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=2&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="attribute">AnimatorSetset</span><span>=(AnimatorSet)AnimatorInflater.loadAnimator(myContext,&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;R.anim.property_animator);&nbsp;&nbsp;</span></li><li class="alt"><span>set.setTarget(myObject);&nbsp;&nbsp;</span></li><li class=""><span>set.start();&nbsp;&nbsp;</span></li></ol></div><pre name="code" class="html" style="display: none;">AnimatorSetset=(AnimatorSet)AnimatorInflater.loadAnimator(myContext,
    R.anim.property_animator);
set.setTarget(myObject);
set.start();</pre><br><br><p></p><h2><a name="t1"></a><span style="font-family:SimSun;font-size:24px;"><span style="background-color: rgb(255, 255, 255);">View Animation&nbsp;</span></span></h2><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><p style="text-align: left;"></p><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">View Animation包含了Tween&nbsp;Animation、Frame Animation。</span></span></p></blockquote><p style="text-align: left;"></p><p></p><p></p><h3><a name="t2"></a><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">Tween&nbsp;Animation</span></span></h3><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; Tween&nbsp;Animation定义在xml文件中。可以对view实现一系列的转换，例如：移动、渐变、伸缩、旋转。</span></span><p></p><p style="text-align: center;"><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20140818221831851" alt=""><br></span></span></p><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; Tween&nbsp;Animation只能应用于View对象，而且只支持一部分属性，如支持缩放旋转而不支持背景颜色的改变。</span></span><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">而且对于Tween&nbsp;Animation，并不改变属性的值，它只是改变了View对象绘制的位置，而没有改变View对象本身，比如，你有一个Button，坐标（100,100），Width:100,Height:100，而你有一个动画使其移动（200，200），你会发现动画过程中触发按钮点击的区域仍是(100,100)-(200,200)。&nbsp;</span></span></p><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><p style="text-align: left;"></p><p><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20140818221839027" alt=""></p></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><p style="text-align: left;"></p><p></p><p><span style="font-family:SimSun;font-size:18px;"><span style="color: rgb(50, 51, 51); background-color: rgb(255, 255, 255);">举例看一下</span><span style="background-color: rgb(255, 255, 255);">Tween&nbsp;</span><span style="color: rgb(50, 51, 51); background-color: rgb(255, 255, 255);">Animation的xml文件：</span></span></p></blockquote><p style="text-align: left;"></p><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);"></span></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 2835px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_3" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_3" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=3&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;?</span><span class="tag-name">xml</span><span>&nbsp;</span><span class="attribute">version</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;</span><span class="attribute">encoding</span><span>=</span><span class="attribute-value">"utf-8"</span><span class="tag">?&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;</span><span class="tag-name">setxmlns:android</span><span class="attribute">setxmlns:android</span><span>=</span><span class="attribute-value">"http://schemas.android.com/apk/res/android"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:interpolator</span><span>=</span><span class="attribute-value">"@[package:]anim/interpolator_resource"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:shareInterpolator</span><span>=["true"&nbsp;|&nbsp;"false"]&nbsp;]]</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">alpha</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromAlpha</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toAlpha</span><span>=</span><span class="attribute-value">"float"</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">scale</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromXScale</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toXScale</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromYScale</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toYScale</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotX</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotY</span><span>=</span><span class="attribute-value">"float"</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">translate</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromXDelta</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toXDelta</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromYDelta</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toYDelta</span><span>=</span><span class="attribute-value">"float"</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">rotate</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromDegrees</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toDegrees</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotX</span><span>=</span><span class="attribute-value">"float"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotY</span><span>=</span><span class="attribute-value">"float"</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">set</span><span>]]</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...&nbsp;&nbsp;</span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;/</span><span class="tag-name">set</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;/</span><span class="tag-name">set</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="display: none;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;setxmlns:android="http://schemas.android.com/apk/res/android"
    android:interpolator="@[package:]anim/interpolator_resource"
    android:shareInterpolator=["true" | "false"] ]]&gt;
    &lt;alpha
        android:fromAlpha="float"
        android:toAlpha="float"/&gt;
    &lt;scale
        android:fromXScale="float"
        android:toXScale="float"
        android:fromYScale="float"
        android:toYScale="float"
        android:pivotX="float"
        android:pivotY="float"/&gt;
    &lt;translate
        android:fromXDelta="float"
        android:toXDelta="float"
        android:fromYDelta="float"
        android:toYDelta="float"/&gt;
    &lt;rotate
        android:fromDegrees="float"
        android:toDegrees="float"
        android:pivotX="float"
        android:pivotY="float"/&gt;
    &lt;set]]&gt;
        ...
    &lt;/set&gt;
&lt;/set&gt;</pre><br><br><p></p><p></p><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; xml文件中必须有一个根元素，使用&nbsp;&lt;alpha&gt;,&nbsp;&lt;scale&gt;,&nbsp;&lt;translate&gt;,&nbsp;&lt;rotate&gt;, 或者&nbsp;&lt;set&gt;。&lt;set&gt;作为集合可以包含&lt;alpha&gt;,&nbsp;&lt;scale&gt;,&nbsp;&lt;translate&gt;,&nbsp;&lt;rotate&gt;中的一个或多个，也可以包含&lt;set&gt;。</span></span></p><span style="font-family:SimSun;font-size:18px;"><br></span><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">Tween&nbsp;</span><span style="color: rgb(50, 51, 51); background-color: rgb(255, 255, 255);">Animation的各元素属性<a target="_blank" href="http://developer.android.com/guide/topics/resources/animation-resource.html#Tween">请参考</a>。</span></span></p><span style="font-family:SimSun;font-size:18px;"><br></span><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 102, 0);">&nbsp; &nbsp; 注意：元素属性值中使用%（</span><span style="color: rgb(35, 35, 35);">in percentage relative to the object's top edge</span><span style="color: rgb(0, 102, 0);">），%p（</span><span style="color: rgb(35, 35, 35);">in percentage relative to the parent container's top edge&nbsp;</span><span style="color: rgb(0, 102, 0);">）的单位，</span></span></p><span style="font-family:SimSun;font-size:18px;"><br></span><p><span style="font-family:SimSun;font-size:18px;"><span style="background-color: rgb(255, 255, 255);">给出一个使用Tween&nbsp;Animation的例子</span></span></p><p style="text-align: left;"><span style="font-family:SimSun;font-size:18px;"><span style="color: rgb(50, 51, 51);"><span style="font-size: 26px; color: rgb(50, 51, 51); background-color: rgb(249, 249, 249);"></span></span></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 3697px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_4" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_4" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=4&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;</span><span class="attribute">setxmlns:android</span><span class="tag-name">setxmlns:android</span><span>=</span><span class="attribute-value">"http://schemas.android.com/apk/res/android"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:shareInterpolator</span><span>=</span><span class="attribute-value">"false"</span><span>]]</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">scale</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:interpolator</span><span>=</span><span class="attribute-value">"@android:anim/accelerate_decelerate_interpolator"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromXScale</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toXScale</span><span>=</span><span class="attribute-value">"1.4"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromYScale</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toYScale</span><span>=</span><span class="attribute-value">"0.6"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotX</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotY</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fillAfter</span><span>=</span><span class="attribute-value">"false"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"700"</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">set</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:interpolator</span><span>=</span><span class="attribute-value">"@android:anim/accelerate_interpolator"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:startOffset</span><span>=</span><span class="attribute-value">"700"</span><span>]]</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">scale</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromXScale</span><span>=</span><span class="attribute-value">"1.4"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toXScale</span><span>=</span><span class="attribute-value">"0.0"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromYScale</span><span>=</span><span class="attribute-value">"0.6"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toYScale</span><span>=</span><span class="attribute-value">"0.0"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotX</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotY</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"400"</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">rotate</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromDegrees</span><span>=</span><span class="attribute-value">"0"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toDegrees</span><span>=</span><span class="attribute-value">"-45"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toYScale</span><span>=</span><span class="attribute-value">"0.0"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotX</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotY</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"400"</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;/</span><span class="tag-name">set</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;/</span><span class="tag-name">set</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="font-family: &#39;Helvetica Light&#39;; display: none;">&lt;setxmlns:android="http://schemas.android.com/apk/res/android"
    android:shareInterpolator="false"]]&gt;
    &lt;scale
        android:interpolator="@android:anim/accelerate_decelerate_interpolator"
        android:fromXScale="1.0"
        android:toXScale="1.4"
        android:fromYScale="1.0"
        android:toYScale="0.6"
        android:pivotX="50%"
        android:pivotY="50%"
        android:fillAfter="false"
        android:duration="700"/&gt;
    &lt;set
        android:interpolator="@android:anim/accelerate_interpolator"
        android:startOffset="700"]]&gt;
        &lt;scale
            android:fromXScale="1.4"
            android:toXScale="0.0"
            android:fromYScale="0.6"
            android:toYScale="0.0"
            android:pivotX="50%"
            android:pivotY="50%"
            android:duration="400"/&gt;
        &lt;rotate
            android:fromDegrees="0"
            android:toDegrees="-45"
            android:toYScale="0.0"
            android:pivotX="50%"
            android:pivotY="50%"
            android:duration="400"/&gt;
    &lt;/set&gt;
&lt;/set&gt;</pre><br><p></p><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">这个动画应用于ImageView</span></p><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"></span></p><div class="dp-highlighter bg_java"><div class="bar"><div class="tools"><b>[java]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 407px; top: 4395px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_5" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_5" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=5&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-j"><li class="alt"><span><span>ImageView&nbsp;image&nbsp;=(ImageView)&nbsp;findViewById(R.id.image);&nbsp;&nbsp;</span></span></li><li class=""><span>Animation&nbsp;hyperspaceJump&nbsp;=AnimationUtils.loadAnimation(<span class="keyword">this</span><span>,&nbsp;R.anim.hyperspace_jump);&nbsp;&nbsp;</span></span></li><li class="alt"><span>image.startAnimation(hyperspaceJump);&nbsp;&nbsp;</span></li></ol></div><pre name="code" class="java" style="display: none;">ImageView image =(ImageView) findViewById(R.id.image);
Animation hyperspaceJump =AnimationUtils.loadAnimation(this, R.anim.hyperspace_jump);
image.startAnimation(hyperspaceJump);</pre><br><span style="background-color: rgb(255, 255, 255);"><br></span><p></p><p><span style="background-color: rgb(255, 255, 255);"></span></p><h3 style="font-family: Roboto, sans-serif; line-height: 21px; margin: 12px 0px; font-weight: 500; color: rgb(34, 34, 34);"><a name="t3"></a><span style="font-size:24px;">Interpolators</span></h3><p></p><p><span style="background-color: rgb(255, 255, 255);"><span style="font-family:SimSun;font-size:18px;"><br></span></span></p><p><span style="font-family:SimSun;font-size:18px;">插值器可以让动画按照一定的频率运动，实现加速、加速、重复、回弹等效果。常用插值器及使用。</span></p><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"><br></span></p><p style="text-align: center;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20140819215121838" alt=""><br></span></p><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"><br></span></p><p><span style="font-family: SimSun;"></span></p><h4 style="line-height: 21px; margin: 12px 0px; font-weight: 500; font-family: Roboto, sans-serif;"><a name="t4"></a><span style="background-color: rgb(255, 255, 255);"><span style="font-size:24px;">Custom interpolators</span></span></h4><p></p><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"><br><br></span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">如果系统提供的插值器不能满足需要，可以通过修改插值器的属性优化，比如修改AnticipateInterpolator的加速速率，调整CycleInterpolator的循环次数等。</span></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"><br></span></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">个性化插值器语法：</span></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 5362px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_6" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_6" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=6&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;?</span><span class="tag-name">xml</span><span>&nbsp;</span><span class="attribute">version</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;</span><span class="attribute">encoding</span><span>=</span><span class="attribute-value">"utf-8"</span><span class="tag">?&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;</span><span class="tag-name">InterpolatorName</span><span>&nbsp;</span><span class="attribute">xmlns:android</span><span>=</span><span class="attribute-value">"http://schemas.android.com/apk/res/android"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:attribute_name</span><span>=</span><span class="attribute-value">"value"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="display: none;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;InterpolatorName xmlns:android="http://schemas.android.com/apk/res/android"
    android:attribute_name="value"
    /&gt;</pre><br><br><p></p><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">常见的插值器可调整的属性：</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;accelerateDecelerateInterpolator&gt; 无</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;accelerateInterpolator&gt; android:factor 浮点值，加速速率，默认为1</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;anticipateInterploator&gt; android:tension 浮点值，起始点后退的张力、拉力数，默认为2</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;anticipateOvershootInterpolator&gt; android:tension 同上 android:extraTension 浮点值，拉力的倍数，默认为1.5（2 * 1.5）</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;bounceInterpolator&gt; 无</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;cycleInterplolator&gt; android:cycles 整数值，循环的个数，默认为1</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;decelerateInterpolator&gt; android:factor 浮点值，减速的速率，默认为1</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;linearInterpolator&gt; 无</span></p><p></p><p style="color: rgb(51, 51, 51); line-height: 26px;"><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);">&lt;overshootInterpolator&gt; 浮点值，超出终点后的张力、拉力，默认为2</span></p></blockquote><p><span style="font-family:SimSun;font-size:18px;">举个个性化插值器的例子：</span></p><p><span style="font-family: SimSun;"><span style="background-color: rgb(255, 255, 255);"><span style="color: rgb(34, 34, 34); font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px;">XML 文件存放在：</span><code style="font-size: 13px; color: rgb(0, 102, 0); line-height: 14px;">res/anim/my_overshoot_interpolator.xml</code><span style="color: rgb(34, 34, 34); font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px;">:</span></span><br></span></p><p><span style="font-family: SimSun;"></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 5881px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_7" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_7" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=7&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;?</span><span class="tag-name">xml</span><span>&nbsp;</span><span class="attribute">version</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;</span><span class="attribute">encoding</span><span>=</span><span class="attribute-value">"utf-8"</span><span class="tag">?&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;</span><span class="tag-name">overshootInterpolator</span><span>&nbsp;</span><span class="attribute">xmlns:android</span><span>=</span><span class="attribute-value">"http://schemas.android.com/apk/res/android"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:tension</span><span>=</span><span class="attribute-value">"7.0"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="display: none;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;overshootInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
    android:tension="7.0"
    /&gt;</pre><br><br><p></p><p><span style="font-family: SimSun;"><span style="font-family: SimSun;font-size:18px;">个性化插值器使用：</span><br></span></p><p><span style="font-family: SimSun;"><span style="font-family: SimSun;font-size:18px;"></span></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 6095px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_8" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_8" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=8&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">scale</span><span>&nbsp;</span><span class="attribute">xmlns:android</span><span>=</span><span class="attribute-value">"http://schemas.android.com/apk/res/android"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:interpolator</span><span>=</span><span class="attribute-value">"@anim/my_overshoot_interpolator"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromXScale</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toXScale</span><span>=</span><span class="attribute-value">"3.0"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:fromYScale</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:toYScale</span><span>=</span><span class="attribute-value">"3.0"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotX</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:pivotY</span><span>=</span><span class="attribute-value">"50%"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"700"</span><span>&nbsp;</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="display: none;">&lt;scale xmlns:android="http://schemas.android.com/apk/res/android"
    android:interpolator="@anim/my_overshoot_interpolator"
    android:fromXScale="1.0"
    android:toXScale="3.0"
    android:fromYScale="1.0"
    android:toYScale="3.0"
    android:pivotX="50%"
    android:pivotY="50%"
    android:duration="700" /&gt;</pre><br><span style="background-color: rgb(255, 255, 255);"><br></span><p></p><p><span style="background-color: rgb(255, 255, 255);"></span></p><h2 style="font-weight: 400; margin: 21px 0px 14px; line-height: 21px;"><a name="t5"></a><span style="font-family:SimSun;font-size:24px;">Frame animation</span></h2><br><p></p><p><span style="font-family: SimSun;"><span style="font-family: SimSun;font-size:18px;">帧动画是一系列的图片按顺序显示。</span></span></p><p><span style="font-family: SimSun;"><span style="font-family: SimSun;font-size:18px;"><br></span></span></p><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="font-family: SimSun;"><span style="font-family: SimSun;font-size:18px;">文件路径：</span></span></p><p><span style="font-family: SimSun;"><span style="font-family: SimSun;font-size:18px;"><span style="color: rgb(0, 102, 0); font-family: monospace; font-size: 13px; line-height: 14px; background-color: rgb(249, 249, 249);">res/drawable/</span><span style="color: rgb(0, 102, 0); font-family: monospace; font-size: 13px; line-height: 14px; background-color: rgb(249, 249, 249);">filename</span><span style="color: rgb(0, 102, 0); font-family: monospace; font-size: 13px; line-height: 14px; background-color: rgb(249, 249, 249);">.xml</span></span></span></p></blockquote><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;"><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;">&nbsp; &nbsp; Property Animation、</span>Tween Animation、Frame Animation的文件路径都是不一样的。</span><br></p><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;">&nbsp; &nbsp; Java中使用AnimationDrawable.<br></span></p><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;"><br></span></p><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;"><br></span></p><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;"></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 6651px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_9" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_9" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=9&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;?</span><span class="tag-name">xml</span><span>&nbsp;</span><span class="attribute">version</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;</span><span class="attribute">encoding</span><span>=</span><span class="attribute-value">"utf-8"</span><span class="tag">?&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;</span><span class="tag-name">animation-list</span><span>&nbsp;</span><span class="attribute">xmlns:android</span><span>=</span><span class="attribute-value">"http://schemas.android.com/apk/res/android"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:oneshot</span><span>=["true"&nbsp;|&nbsp;"false"]&nbsp;</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">item</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:drawable</span><span>=</span><span class="attribute-value">"@[package:]drawable/drawable_resource_name"</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"integer"</span><span>&nbsp;</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span><span class="tag">&lt;/</span><span class="tag-name">animation-list</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="display: none;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;animation-list xmlns:android="http://schemas.android.com/apk/res/android"
    android:oneshot=["true" | "false"] &gt;
    &lt;item
        android:drawable="@[package:]drawable/drawable_resource_name"
        android:duration="integer" /&gt;
&lt;/animation-list&gt;</pre><br>元素属性的解释：<p></p><p style="text-align: center;"><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20140819231950980" alt=""><br></span></p><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;">举个例子：</span></p><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;"><br></span></p><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"></span></p><div class="dp-highlighter bg_html"><div class="bar"><div class="tools"><b>[html]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 409px; top: 7298px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_10" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_10" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=10&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-xml"><li class="alt"><span><span class="tag">&lt;?</span><span class="tag-name">xml</span><span>&nbsp;</span><span class="attribute">version</span><span>=</span><span class="attribute-value">"1.0"</span><span>&nbsp;</span><span class="attribute">encoding</span><span>=</span><span class="attribute-value">"utf-8"</span><span class="tag">?&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span><span class="tag">&lt;</span><span class="tag-name">animation-list</span><span>&nbsp;</span><span class="attribute">xmlns:android</span><span>=</span><span class="attribute-value">"http://schemas.android.com/apk/res/android"</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="attribute">android:oneshot</span><span>=</span><span class="attribute-value">"false"</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">item</span><span>&nbsp;</span><span class="attribute">android:drawable</span><span>=</span><span class="attribute-value">"@drawable/rocket_thrust1"</span><span>&nbsp;</span><span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"200"</span><span>&nbsp;</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">item</span><span>&nbsp;</span><span class="attribute">android:drawable</span><span>=</span><span class="attribute-value">"@drawable/rocket_thrust2"</span><span>&nbsp;</span><span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"200"</span><span>&nbsp;</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="tag">&lt;</span><span class="tag-name">item</span><span>&nbsp;</span><span class="attribute">android:drawable</span><span>=</span><span class="attribute-value">"@drawable/rocket_thrust3"</span><span>&nbsp;</span><span class="attribute">android:duration</span><span>=</span><span class="attribute-value">"200"</span><span>&nbsp;</span><span class="tag">/&gt;</span><span>&nbsp;&nbsp;</span></span></li><li class="alt"><span><span class="tag">&lt;/</span><span class="tag-name">animation-list</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre name="code" class="html" style="display: none;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;animation-list xmlns:android="http://schemas.android.com/apk/res/android"
    android:oneshot="false"&gt;
    &lt;item android:drawable="@drawable/rocket_thrust1" android:duration="200" /&gt;
    &lt;item android:drawable="@drawable/rocket_thrust2" android:duration="200" /&gt;
    &lt;item android:drawable="@drawable/rocket_thrust3" android:duration="200" /&gt;
&lt;/animation-list&gt;</pre><br><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;">Frame Animation使用，首先设置为背景，然后再播放。</span><br><p></p><p><span style="font-family:SimSun;font-size:18px;background-color: rgb(255, 255, 255);"><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;"></span></span></p><div class="dp-highlighter bg_java"><div class="bar"><div class="tools"><b>[java]</b> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="ViewSource" title="view plain" onclick="dp.sh.Toolbar.Command(&#39;ViewSource&#39;,this);return false;">view plain</a><span data-mod="popu_168"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="CopyToClipboard" title="copy" onclick="dp.sh.Toolbar.Command(&#39;CopyToClipboard&#39;,this);return false;">copy</a><div style="position: absolute; left: 407px; top: 7543px; width: 21px; height: 11px; z-index: 99;"><embed id="ZeroClipboardMovie_11" src="http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="21" height="11" name="ZeroClipboardMovie_11" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=11&amp;width=21&amp;height=11" wmode="transparent"></div></span><span data-mod="popu_169"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="PrintSource" title="print" onclick="dp.sh.Toolbar.Command(&#39;PrintSource&#39;,this);return false;">print</a></span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="About" title="?" onclick="dp.sh.Toolbar.Command(&#39;About&#39;,this);return false;">?</a></div></div><ol start="1" class="dp-j"><li class="alt"><span><span>ImageView&nbsp;rocketImage&nbsp;=&nbsp;(ImageView)&nbsp;findViewById(R.id.rocket_image);&nbsp;&nbsp;</span></span></li><li class=""><span>rocketImage.setBackgroundResource(R.drawable.rocket_thrust);&nbsp;&nbsp;</span></li><li class="alt"><span>&nbsp;&nbsp;</span></li><li class=""><span>rocketAnimation&nbsp;=&nbsp;(AnimationDrawable)&nbsp;rocketImage.getBackground();&nbsp;&nbsp;</span></li><li class="alt"><span>rocketAnimation.start();&nbsp;&nbsp;</span></li></ol></div><pre name="code" class="java" style="display: none;">ImageView rocketImage = (ImageView) findViewById(R.id.rocket_image);
rocketImage.setBackgroundResource(R.drawable.rocket_thrust);

rocketAnimation = (AnimationDrawable) rocketImage.getBackground();
rocketAnimation.start();</pre><br><p>更多，<a target="_blank" href="http://developer.android.com/guide/topics/graphics/view-animation.html#frame-animation" style="font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px; color: rgb(37, 138, 175); text-decoration: none; background-color: rgb(249, 249, 249);">2D Graphics: Frame Animation</a></p><p><br></p><p><span style="color: rgb(50, 51, 51); font-family: SimSun; font-size: 18px;">使用Frame Animation注意一下问题：</span><span style="font-family:SimSun;"><br></span></p><p></p><p><span style="font-size: 18px;"></span></p><ol style="margin: 0px; padding: 0px 0px 0px 50px; font-size: 16px; line-height: 24px;"><li style="margin: 0px; padding: 0px; list-style: decimal;"><span style="font-family:SimSun;">要在代码中调用Imageview的setBackgroundResource方法，如果直接在XML布局文件中设置其src属性当触发动画时会FC。</span></li><li style="margin: 0px; padding: 0px; list-style: decimal;"><span style="font-family:SimSun;">在动画start()之前要先stop()，不然在第一次动画之后会停在最后一帧，这样动画就只会触发一次。</span></li><li style="margin: 0px; padding: 0px; list-style: decimal;"><span style="font-family:SimSun;">最后一点是SDK中提到的，不要在onCreate中调用start，因为AnimationDrawable还没有完全跟Window相关联，如果想要界面显示时就开始动画的话，可以在onWindowFoucsChanged()中调用start()。</span></li></ol><br><p></p><p><span style="font-family: SimSun; font-size: 18px;"></span></p><div style="font-family: Arial; font-size: 14px; line-height: 26px;"><div><span style="color: rgb(51, 51, 51);"><span style="font-family: SimSun;">/**</span></span></div><span style="font-family: SimSun;"><span style="color: rgb(51, 51, 51);"></span></span><div><span style="font-family: SimSun;">* @author 张兴业</span></div></div><div style="font-family: Arial; font-size: 14px; line-height: 26px;"><div><span style="font-family: SimSun;">* &nbsp;<a target="_blank" href="http://blog.csdn.net/xyz_lmn" style="color: rgb(255, 153, 0); text-decoration: none;">http://blog.csdn.net/xyz_lmn</a></span></div><span style="font-family: SimSun;"><span style="color: rgb(51, 51, 51);"></span></span><div><span style="font-family: SimSun;">* &nbsp;我的新浪微博：<span style="font-size: 18px; color: rgb(255, 102, 102);"><strong><a target="_blank" href="http://weibo.com/xyzlmn" style="color: rgb(202, 0, 0); text-decoration: none;">@张兴业TBOW</a></strong></span></span></div><div><span style="font-family: SimSun;">*/</span></div><div><span style="font-family: SimSun;"><br></span></div></div><br><p></p><p><span style="font-family: SimSun; font-size: 18px;"><br></span></p>   
</div>




<!-- Baidu Button BEGIN -->




<div class="bdsharebuttonbox tracking-ad bdshare-button-style0-16" style="float: right;" data-mod="popu_172" data-bd-bind="1460709360903">
<a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="bds_more" data-cmd="more" style="background-position:0 0 !important; background-image: url(http://bdimg.share.baidu.com/static/api/img/share/icons_0_16.png?v=d754dcc0.png) !important" target="_blank"></a>
<a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间" style="background-position:0 -52px !important" target="_blank"></a>
<a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博" style="background-position:0 -104px !important" target="_blank"></a>
<a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博" style="background-position:0 -260px !important" target="_blank"></a>
<a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="bds_renren" data-cmd="renren" title="分享到人人网" style="background-position:0 -208px !important" target="_blank"></a>
<a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" class="bds_weixin" data-cmd="weixin" title="分享到微信" style="background-position:0 -1612px !important" target="_blank"></a>
</div>
<script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "1", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
<!-- Baidu Button END -->

   <link rel="stylesheet" href="http://static.blog.csdn.net/css/blog_detail.css">

    
<!--172.16.140.13-->

<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=1536434" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/bds_s_v2.js"></script>

<script type="text/javascript">
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script>
<!-- Baidu Button END -->

 

        <div id="digg" articleid="38667899">
            <dl id="btnDigg" class="digg digg_disable">
               
                 <dt>顶</dt>
                <dd>3</dd>
            </dl>
            <dl id="btnBury" class="digg digg_disable">
              
                  <dt>踩</dt>
                <dd>0</dd>
            </dl>
        </div>

   <ul class="article_next_prev">
                <li class="prev_article"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_shangyipian&#39;]);location.href=&#39;/xyz_lmn/article/details/38304427&#39;;">上一篇</span><a href="http://blog.csdn.net/xyz_lmn/article/details/38304427" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_shangyipian&#39;])">Android应用如何支持屏幕多尺寸多分辨率问题</a></li>
                <li class="next_article"><span onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_xiayipian&#39;]);location.href=&#39;/xyz_lmn/article/details/38735117&#39;;">下一篇</span><a href="http://blog.csdn.net/xyz_lmn/article/details/38735117" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_xiayipian&#39;])">Android L中的RecyclerView 、CardView 、Palette的使用</a></li>
    </ul>

    <div style="clear:both; height:10px;"></div>


        <div class="similar_article" style="">
                <h4>我的同类文章</h4>
                <div class="similar_c" style="margin:20px 0px 0px 0px">
                    <div class="similar_c_t">
                                <label class="similar_cur">
                                    <span style="cursor:pointer" onclick="GetCategoryArticles(&#39;912146&#39;,&#39;xyz_lmn&#39;,&#39;foot&#39;,&#39;38667899&#39;);">android UI（常用）<em>（66）</em></span>
                                </label>
                    </div>
                   
                    <div class="similar_wrap tracking-ad" data-mod="popu_141" style="max-height:195px;">
                        <a href="http://blog.csdn.net/" style="display:none" target="_blank">http://blog.csdn.net</a>
                        <ul class="similar_list fl"><li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/48055919" id="foot_aritcle_48055919undefined813624566886574" target="_blank" title="android CoordinatorLayout使用">android CoordinatorLayout使用</a><span>2015-09-02</span><label><i>阅读</i><b>30384</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/38906363" id="foot_aritcle_38906363undefined03491702675819397" target="_blank" title="Android UI开发第四十三篇——使用Property Animation实现墨迹天气3.0引导界面及动画实现">Android UI开发第四十三篇——使用Property Animation实现墨迹天气3.0引导界面及动画实现</a><span>2014-08-28</span><label><i>阅读</i><b>18717</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/38304427" id="foot_aritcle_38304427undefined9919302796479315" target="_blank" title="Android应用如何支持屏幕多尺寸多分辨率问题">Android应用如何支持屏幕多尺寸多分辨率问题</a><span>2014-08-01</span><label><i>阅读</i><b>21372</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/35569793" id="foot_aritcle_35569793undefined31763973366469145" target="_blank" title="Material Theme">Material Theme</a><span>2014-07-31</span><label><i>阅读</i><b>11776</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/35552103" id="foot_aritcle_35552103undefined3038688350934535" target="_blank" title="Material Design">Material Design</a><span>2014-06-28</span><label><i>阅读</i><b>26985</b></label></li> </ul>

                        <ul class="similar_list fr"><li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/42675115" id="foot_aritcle_42675115undefined9076701831072569" target="_blank" title="Material Design设计规范">Material Design设计规范</a><span>2015-01-13</span><label><i>阅读</i><b>10988</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/38735117" id="foot_aritcle_38735117undefined5747378563974053" target="_blank" title="Android L中的RecyclerView 、CardView 、Palette的使用">Android L中的RecyclerView 、CardView 、Palette的使用</a><span>2014-08-25</span><label><i>阅读</i><b>40177</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/35644799" id="foot_aritcle_35644799undefined21541558322496712" target="_blank" title="Material Design UI Widgets">Material Design UI Widgets</a><span>2014-07-07</span><label><i>阅读</i><b>20618</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/xyz_lmn/article/details/35560855" id="foot_aritcle_35560855undefined18004388152621686" target="_blank" title="Material Design Get Started">Material Design Get Started</a><span>2014-06-28</span><label><i>阅读</i><b>7475</b></label></li> </ul>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/912146" class="MoreArticle">更多文章</a></div>
                </div>
            </div>    
    <script type="text/javascript">
        $(function () {
            GetCategoryArticles('912146', 'xyz_lmn','foot','38667899');
        });
    </script>
      
</div>
<div id="suggest">

</div>
         <script language="javascript" type="text/javascript">     
             $(function(){
                 $.get("/xyz_lmn/svc/GetSuggestContent/38667899",function(data){
                     $("#suggest").html(data);
                 });     
             });             
         </script>  


<style>
.blog-ass-articl dd {
color: #369;
width: 99%; /*修改行*/
float: left;
overflow: hidden;
font: normal normal 12px/23px "SimSun";
height: 23px;
margin: 0;
padding: 0 0 0 10px;
margin-right: 30px;
background: url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;
}
</style>

 <link rel="stylesheet" href="http://static.blog.csdn.net/css/replace.css">

<div id="relate" style="display: block;">
        <div class="relate_t">
            <h3><span>参考知识库</span></h3>
        </div>
        <div class="relate_c"><dl class="relate_list"><dt><a href="http://lib.csdn.net/base/15"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/1455589744328_328.jpg" alt="img"></a></dt><dd><h4><a href="http://lib.csdn.net/base/15">Android知识库</a></h4><p><label><span>11999</span><em>关注</em><i>|</i><span>1149</span><em>收录</em></label></p></dd></dl><dl class="relate_list"><dt><a href="http://lib.csdn.net/base/17"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/1456818035722_722.jpg" alt="img"></a></dt><dd><h4><a href="http://lib.csdn.net/base/17">Java EE知识库</a></h4><p><label><span>1155</span><em>关注</em><i>|</i><span>581</span><em>收录</em></label></p></dd></dl><dl class="relate_list"><dt><a href="http://lib.csdn.net/base/12"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/1453169124297_297.jpg" alt="img"></a></dt><dd><h4><a href="http://lib.csdn.net/base/12">Java SE知识库</a></h4><p><label><span>9422</span><em>关注</em><i>|</i><span>454</span><em>收录</em></label></p></dd></dl><dl class="relate_list"><dt><a href="http://lib.csdn.net/base/13"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/1453701371636_636.jpg" alt="img"></a></dt><dd><h4><a href="http://lib.csdn.net/base/13">Java Web知识库</a></h4><p><label><span>9714</span><em>关注</em><i>|</i><span>1042</span><em>收录</em></label></p></dd></dl><dl class="relate_list"><dt><a href="http://lib.csdn.net/base/4"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/1452500466484_484.jpg" alt="img"></a></dt><dd><h4><a href="http://lib.csdn.net/base/4">Docker知识库</a></h4><p><label><span>2245</span><em>关注</em><i>|</i><span>187</span><em>收录</em></label></p></dd></dl></div>
</div>
 

<dl class="blog-ass-articl" id="res-relatived"> 
    <div class="embody embody_b" id="libkeyparent" style="display:none">
            <span class="embody_t">更多资料请参考：</span>
            <div class="embody_c" id="libkey"></div>
    </div>


     <dt><span>猜你在找</span></dt>    


   


    <div id="adCollege" style="width: 42%;float: left;"> 
        <script src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/job_reco.js" type="text/javascript"></script> 
        <script type="text/javascript">
            csdn.position.showEdu({
                sourceType: "blog",
                searchType: "detail",
                searchKey: "38667899",
                username: "",
                recordcount: "5",
                containerId: "adCollege" //容器DIV的id。 
            });
        </script> 
    <div class="tracking-ad" data-mod="popu_84"><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"><a href="http://edu.csdn.net/course/detail/1676" title="威哥全套Android开发课程【基础与UI技术】" strategy="v4:content" target="_blank">威哥全套Android开发课程【基础与UI技术】</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"><a href="http://edu.csdn.net/course/detail/1480" title="Android底层技术：Java层系统服务(Android Service)" strategy="v4:content" target="_blank">Android底层技术：Java层系统服务(Android Service)</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"><a href="http://edu.csdn.net/course/detail/1498" title="Android必备的Java基础知识(三)" strategy="v4:content" target="_blank">Android必备的Java基础知识(三)</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"><a href="http://edu.csdn.net/course/detail/1496" title="Android必备的Java基础知识" strategy="v4:content" target="_blank">Android必备的Java基础知识</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;"><a href="http://edu.csdn.net/course/detail/1072" title="移动端游戏UI设计-二部曲" strategy="v4:content" target="_blank">移动端游戏UI设计-二部曲</a></dd></div></div>  

    
     <div id="res" data-mod="popu_36" class="tracking-ad" style="width: 42%; float: left; margin-right: 30px; display: block;"><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/iloveaman/article/details/45501643" title="Android属性动画--基础使用" strategy="SearchAlgorithm" target="_blank">Android属性动画--基础使用</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/xiangxiao_jun/article/details/8942349" title="Android 中最实用的动画效果实现" strategy="SearchAlgorithm" target="_blank">Android 中最实用的动画效果实现</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/zdy0_2004/article/details/48861615" title="Android 矢量图VectorDrawable及动画AnimatedVectorDrawable" strategy="SearchAlgorithm" target="_blank">Android 矢量图VectorDrawable及动画AnimatedVectorDrawable</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/SoulOfAndroid/article/details/47832709" title="Android 开源项目分类汇总" strategy="SearchAlgorithm" target="_blank">Android 开源项目分类汇总</a></dd><dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="http://blog.csdn.net/dsadfwersdfa/article/details/49076417" title="Android 开源项目分类汇总" strategy="SearchAlgorithm" target="_blank">Android 开源项目分类汇总</a></dd></div>
   
</dl>


<script type="text/javascript">
    $(function () {
        setTimeout(function () {
            var searchtitletags = 'android 动画分类' + ',' + $("#tags").html();
            searchService({
                index: 'blog',
                query: searchtitletags,
                from: 5,
                size: 5,
                appendTo: '#res',
                url: 'recommend',
                his: 2,
                client: "blog_cf_enhance",
                tmpl: '<dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="#{ url }" title="#{ title }" strategy="#{ strategy }">#{ title }</a></dd>'
            });
        }, 500);
    });    

 </script>  

    <div id="ad_cen">        
<!-- 广告位开始 -->
<div class="J_adv" data-view="true" data-mod="ad_popu_71" data-mtp="36" data-order="40" data-con="ad_content_216" style="width: 728px; height: 90px;"><!-- 广告占位容器 --><div id="cpro_u1607657"><iframe id="iframeu1607657_0" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ocom.html" width="728" height="90" align="center,center" vspace="0" hspace="0" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" style="border:0; vertical-align:bottom;margin:0;" allowtransparency="true"></iframe></div><!-- 投放代码 --><script type="text/javascript">(window['cproStyleApi'] = window['cproStyleApi'] ||{})['u1607657']={at:'3',rsi0:'728',rsi1:'90',pat:'6',tn:'baiduCustNativeAD',rss1:'#FFFFFF',conBW:'1',adp:'1',ptt:'0',titFF:'%E5%BE%AE%E8%BD%AF%E9%9B%85%E9%BB%91',titFS:'',rss2:'#000000',titSU:'0',ptbg:'90',piw:'0',pih:'0',ptp:'0'};/*服务器频道首页置顶Banner960*90，创建于2014-7-3*/(window.cproArray = window.cproArray || []).push({id:'u1607657'});  </script>  <script src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/c.js" type="text/javascript"></script></div>
<!-- 广告位结束 -->    </div>  

<div class="comment_class">
    <div id="comment_title" class="panel_head">
        <span class="see_comment">查看评论</span><a name="comments"></a></div>
    <div id="comment_list"><dl class="comment_item comment_topic" id="comment_item_4627603"><dt class="comment_head" floor="6">6楼 <span class="user"><a class="username" href="http://blog.csdn.net/crazy1235" target="_blank">Jack-sen</a> <span class="ptime">2014-12-22 14:52发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4627603" username="crazy1235"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/crazy1235" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_crazy1235.jpg" width="40" height="40"></a></dd><dd class="comment_body">帧动画的时候，我测试的结果是<br>1. 直接在xml设置imageview的src没有楼主说的FC的问题<br>2. 在onCreate中直接调用start方法没有问题！可以正常运行动画。</dd></dl><dl class="comment_item comment_topic" id="comment_item_4627593"><dt class="comment_head" floor="5">5楼 <span class="user"><a class="username" href="http://blog.csdn.net/crazy1235" target="_blank">Jack-sen</a> <span class="ptime">2014-12-22 14:51发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4627593" username="crazy1235"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/crazy1235" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_crazy1235.jpg" width="40" height="40"></a></dd><dd class="comment_body">帧动画的时候，我测试的结果是<br>1. 直接在xml设置imageview的src没有楼主说的FC的问题<br>2. 在onCreate中直接调用start方法没有问题！可以正常运行动画。</dd></dl><dl class="comment_item comment_topic" id="comment_item_4533551"><dt class="comment_head" floor="4">4楼 <span class="user"><a class="username" href="http://blog.csdn.net/imustsucceedme" target="_blank">imustsucceedme</a> <span class="ptime">2014-11-20 18:39发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4533551" username="imustsucceedme"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/imustsucceedme" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_imustsucceedme.jpg" width="40" height="40"></a></dd><dd class="comment_body">您好，您这个有没有源代码呢? 只看理论总感觉比较空</dd><dl class="comment_item comment_reply" id="comment_item_4534307"><dt class="comment_head" floor="4">Re: <span class="user"><a class="username" href="http://blog.csdn.net/xyz_lmn" target="_blank">xyz_lmn</a> <span class="ptime">2014-11-20 23:12发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4534307" username="xyz_lmn"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/xyz_lmn" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_xyz_lmn.jpg" width="40" height="40"></a></dd><dd class="comment_body">回复imustsucceedme：http://blog.csdn.net/xyz_lmn/article/details/21799725</dd></dl><dl class="comment_item comment_reply" id="comment_item_4534305"><dt class="comment_head" floor="4">Re: <span class="user"><a class="username" href="http://blog.csdn.net/xyz_lmn" target="_blank">xyz_lmn</a> <span class="ptime">2014-11-20 23:12发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4534305" username="xyz_lmn"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/xyz_lmn" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_xyz_lmn.jpg" width="40" height="40"></a></dd><dd class="comment_body">回复imustsucceedme：http://blog.csdn.net/xyz_lmn/article/details/38906363</dd></dl></dl><dl class="comment_item comment_topic" id="comment_item_4213753"><dt class="comment_head" floor="3">3楼 <span class="user"><a class="username" href="http://blog.csdn.net/soledadzz" target="_blank">soledadzz</a> <span class="ptime">2014-08-26 15:22发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4213753" username="soledadzz"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/soledadzz" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_soledadzz.jpg" width="40" height="40"></a></dd><dd class="comment_body">您的文章已被推荐到博客首页和个人页侧边栏推荐文章，感谢您的分享。</dd><dl class="comment_item comment_reply" id="comment_item_4214993"><dt class="comment_head" floor="3">Re: <span class="user"><a class="username" href="http://blog.csdn.net/xyz_lmn" target="_blank">xyz_lmn</a> <span class="ptime">2014-08-26 20:17发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4214993" username="xyz_lmn"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/xyz_lmn" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_xyz_lmn.jpg" width="40" height="40"></a></dd><dd class="comment_body">回复soledadzz：O(∩_∩)O谢谢</dd></dl></dl><dl class="comment_item comment_topic" id="comment_item_4201145"><dt class="comment_head" floor="2">2楼 <span class="user"><a class="username" href="http://blog.csdn.net/actual_" target="_blank">我是一个小胖子</a> <span class="ptime">2014-08-22 09:45发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4201145" username="actual_"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/actual_" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_actual_.jpg" width="40" height="40"></a></dd><dd class="comment_body">露珠辛苦了。</dd></dl><dl class="comment_item comment_topic" id="comment_item_4197455"><dt class="comment_head" floor="1">1楼 <span class="user"><a class="username" href="http://blog.csdn.net/x359981514" target="_blank">eclipse_xu</a> <span class="ptime">2014-08-21 10:38发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4197455" username="x359981514"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/x359981514" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_x359981514.jpg" width="40" height="40"></a></dd><dd class="comment_body">在使用属性动画的时候，如何设置旋转的旋转中心呢</dd><dl class="comment_item comment_reply" id="comment_item_4197997"><dt class="comment_head" floor="1">Re: <span class="user"><a class="username" href="http://blog.csdn.net/xyz_lmn" target="_blank">xyz_lmn</a> <span class="ptime">2014-08-21 13:06发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4197997" username="xyz_lmn"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/xyz_lmn" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_xyz_lmn.jpg" width="40" height="40"></a></dd><dd class="comment_body">回复eclipse_xu： android:pivotX="50%"      android:pivotY="50%"</dd><dl class="comment_item comment_reply" id="comment_item_4198327"><dt class="comment_head" floor="1">Re: <span class="user"><a class="username" href="http://blog.csdn.net/x359981514" target="_blank">eclipse_xu</a> <span class="ptime">2014-08-21 14:46发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4198327" username="x359981514"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/x359981514" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_x359981514.jpg" width="40" height="40"></a></dd><dd class="comment_body">回复xyz_lmn：rotationX 这种3D的旋转呢</dd><dl class="comment_item comment_reply" id="comment_item_4199381"><dt class="comment_head" floor="1">Re: <span class="user"><a class="username" href="http://blog.csdn.net/xyz_lmn" target="_blank">xyz_lmn</a> <span class="ptime">2014-08-21 17:58发表</span>  <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#reply" class="cmt_btn reply" title="回复">[回复]</a> <span class="comment_manage" style="display: none;" commentid="4199381" username="xyz_lmn"> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#quote" class="cmt_btn quote" title="引用">[引用]</a> <a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#report" class="cmt_btn report" title="举报">[举报]</a></span></span></dt><dd class="comment_userface"><a href="http://blog.csdn.net/xyz_lmn" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/3_xyz_lmn.jpg" width="40" height="40"></a></dd><dd class="comment_body">回复eclipse_xu：一样的</dd></dl></dl></dl></dl><div class="clear"></div></div>
    <div id="comment_bar" style="display: none;">
    </div>
    <div id="comment_form"><div class="guest_link">您还没有登录,请<a href="javascript:void(0);" onclick="javascript:loginbox();">[登录]</a>或<a href="http://passport.csdn.net/account/register?from=http%3A%2F%2Fblog.csdn.net%2Fxyz_lmn%2Farticle%2Fdetails%2F38667899">[注册]</a></div></div>
    <div class="announce">
        * 以上用户言论只代表其个人观点，不代表CSDN网站的观点或立场<a name="reply"></a><a name="quote"></a></div>
</div>

<script type="text/javascript">
    var fileName = '38667899';
    var commentscount = 12;
    var islock = false
</script>
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/comment.js"></script>
    <div id="ad_bot">
    </div>
<div id="report_dialog">
</div>

<div id="d-top" style="bottom:60px;">
        <a id="quick-reply" class="btn btn-top q-reply" title="快速回复" style="display:none;">
            <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/blog-icon-reply.png" alt="快速回复">
        </a>    

    <a id="d-top-a" class="btn btn-top backtop" style="display: none;" title="返回顶部" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_huidaodingbu&#39;])">         
         <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/top.png" alt="TOP">
    </a>
</div>
<script type="text/javascript">
    $(function ()
    {
        $("#ad_frm_0").height("90px");
        
        setTimeout(function(){
            $("#ad_frm_2").height("200px");
        },1000);    
    });
  
</script>
<style type="text/css">
    .tag_list
    {
        background: none repeat scroll 0 0 #FFFFFF;
        border: 1px solid #D7CBC1;
        color: #000000;
        font-size: 12px;
        line-height: 20px;
        list-style: none outside none;
        margin: 10px 2% 0 1%;
        padding: 1px;
    }
    .tag_list h5
    {
        background: none repeat scroll 0 0 #E0DBD3;
        color: #47381C;
        font-size: 12px;
        height: 24px;
        line-height: 24px;
        padding: 0 5px;
        margin: 0;
    }
    .tag_list h5 a
    {
        color: #47381C;
    }
    .classify
    {
        margin: 10px 0;
        padding: 4px 12px 8px;
    }
    .classify a
    {
        margin-right: 20px;
        white-space: nowrap;
    }
</style>


<div class="tag_list" style="">

    <h5>
        <a href="http://www.csdn.net/tag/" target="_blank">核心技术类目</a></h5>
    <div class="classify">
<a title="全部主题" href="http://www.csdn.net/tag" target="_blank" onclick="LogClickCount(this,336);">全部主题</a>
<a title="Hadoop" href="http://g.csdn.net/5272865" target="_blank" onclick="LogClickCount(this,336);">Hadoop</a>
<a title="AWS" href="http://g.csdn.net/5272866" target="_blank" onclick="LogClickCount(this,336);">AWS</a>
<a title="移动游戏" href="http://g.csdn.net/5272870" target="_blank" onclick="LogClickCount(this,336);">移动游戏</a>
<a title="Java" href="http://g.csdn.net/5272871" target="_blank" onclick="LogClickCount(this,336);">Java</a>
<a title="Android" href="http://g.csdn.net/5272872" target="_blank" onclick="LogClickCount(this,336);">Android</a>
<a title="iOS" href="http://g.csdn.net/5272873" target="_blank" onclick="LogClickCount(this,336);">iOS</a>
<a title="Swift" href="http://g.csdn.net/5272868" target="_blank" onclick="LogClickCount(this,336);">Swift</a>
<a title="智能硬件" href="http://g.csdn.net/5272869" target="_blank" onclick="LogClickCount(this,336);">智能硬件</a>
<a title="Docker" href="http://g.csdn.net/5272867" target="_blank" onclick="LogClickCount(this,336);">Docker</a>
<a title="OpenStack" href="http://g.csdn.net/5272925" target="_blank" onclick="LogClickCount(this,336);">OpenStack</a>
<a title="VPN" href="http://www.csdn.net/tag/vpn" target="_blank" onclick="LogClickCount(this,336);">VPN</a>
<a title="Spark" href="http://g.csdn.net/5272924" target="_blank" onclick="LogClickCount(this,336);">Spark</a>
<a title="ERP" href="http://www.csdn.net/tag/erp" target="_blank" onclick="LogClickCount(this,336);">ERP</a>
<a title="IE10" href="http://www.csdn.net/tag/ie10" target="_blank" onclick="LogClickCount(this,336);">IE10</a>
<a title="Eclipse" href="http://www.csdn.net/tag/eclipse" target="_blank" onclick="LogClickCount(this,336);">Eclipse</a>
<a title="CRM" href="http://www.csdn.net/tag/crm" target="_blank" onclick="LogClickCount(this,336);">CRM</a>
<a title="JavaScript" href="http://www.csdn.net/tag/javascript" target="_blank" onclick="LogClickCount(this,336);">JavaScript</a>
<a title="数据库" href="http://www.csdn.net/tag/%E6%95%B0%E6%8D%AE%E5%BA%93" target="_blank" onclick="LogClickCount(this,336);">数据库</a>
<a title="Ubuntu" href="http://www.csdn.net/tag/ubuntu" target="_blank" onclick="LogClickCount(this,336);">Ubuntu</a>
<a title="NFC" href="http://www.csdn.net/tag/nfc" target="_blank" onclick="LogClickCount(this,336);">NFC</a>
<a title="WAP" href="http://www.csdn.net/tag/wap" target="_blank" onclick="LogClickCount(this,336);">WAP</a>
<a title="jQuery" href="http://www.csdn.net/tag/jquery" target="_blank" onclick="LogClickCount(this,336);">jQuery</a>
<a title="BI" href="http://www.csdn.net/tag/bi" target="_blank" onclick="LogClickCount(this,336);">BI</a>
<a title="HTML5" href="http://www.csdn.net/tag/html5" target="_blank" onclick="LogClickCount(this,336);">HTML5</a>
<a title="Spring" href="http://www.csdn.net/tag/spring" target="_blank" onclick="LogClickCount(this,336);">Spring</a>
<a title="Apache" href="http://www.csdn.net/tag/apache" target="_blank" onclick="LogClickCount(this,336);">Apache</a>
<a title=".NET" href="http://www.csdn.net/tag/.net" target="_blank" onclick="LogClickCount(this,336);">.NET</a>
<a title="API" href="http://www.csdn.net/tag/api" target="_blank" onclick="LogClickCount(this,336);">API</a>
<a title="HTML" href="http://www.csdn.net/tag/html" target="_blank" onclick="LogClickCount(this,336);">HTML</a>
<a title="SDK" href="http://www.csdn.net/tag/sdk" target="_blank" onclick="LogClickCount(this,336);">SDK</a>
<a title="IIS" href="http://www.csdn.net/tag/iis" target="_blank" onclick="LogClickCount(this,336);">IIS</a>
<a title="Fedora" href="http://www.csdn.net/tag/fedora" target="_blank" onclick="LogClickCount(this,336);">Fedora</a>
<a title="XML" href="http://www.csdn.net/tag/xml" target="_blank" onclick="LogClickCount(this,336);">XML</a>
<a title="LBS" href="http://www.csdn.net/tag/lbs" target="_blank" onclick="LogClickCount(this,336);">LBS</a>
<a title="Unity" href="http://www.csdn.net/tag/unity" target="_blank" onclick="LogClickCount(this,336);">Unity</a>
<a title="Splashtop" href="http://www.csdn.net/tag/splashtop" target="_blank" onclick="LogClickCount(this,336);">Splashtop</a>
<a title="UML" href="http://www.csdn.net/tag/uml" target="_blank" onclick="LogClickCount(this,336);">UML</a>
<a title="components" href="http://www.csdn.net/tag/components" target="_blank" onclick="LogClickCount(this,336);">components</a>
<a title="Windows Mobile" href="http://www.csdn.net/tag/windowsmobile" target="_blank" onclick="LogClickCount(this,336);">Windows Mobile</a>
<a title="Rails" href="http://www.csdn.net/tag/rails" target="_blank" onclick="LogClickCount(this,336);">Rails</a>
<a title="QEMU" href="http://www.csdn.net/tag/qemu" target="_blank" onclick="LogClickCount(this,336);">QEMU</a>
<a title="KDE" href="http://www.csdn.net/tag/kde" target="_blank" onclick="LogClickCount(this,336);">KDE</a>
<a title="Cassandra" href="http://www.csdn.net/tag/cassandra" target="_blank" onclick="LogClickCount(this,336);">Cassandra</a>
<a title="CloudStack" href="http://www.csdn.net/tag/cloudstack" target="_blank" onclick="LogClickCount(this,336);">CloudStack</a>
<a title="FTC" href="http://www.csdn.net/tag/ftc" target="_blank" onclick="LogClickCount(this,336);">FTC</a>
<a title="coremail" href="http://www.csdn.net/tag/coremail" target="_blank" onclick="LogClickCount(this,336);">coremail</a>
<a title="OPhone " href="http://www.csdn.net/tag/ophone" target="_blank" onclick="LogClickCount(this,336);">OPhone </a>
<a title="CouchBase" href="http://www.csdn.net/tag/couchbase" target="_blank" onclick="LogClickCount(this,336);">CouchBase</a>
<a title="云计算" href="http://www.csdn.net/tag/%E4%BA%91%E8%AE%A1%E7%AE%97" target="_blank" onclick="LogClickCount(this,336);">云计算</a>
<a title="iOS6" href="http://www.csdn.net/tag/iOS6" target="_blank" onclick="LogClickCount(this,336);">iOS6</a>
<a title="Rackspace " href="http://www.csdn.net/tag/rackspace" target="_blank" onclick="LogClickCount(this,336);">Rackspace </a>
<a title="Web App" href="http://www.csdn.net/tag/webapp" target="_blank" onclick="LogClickCount(this,336);">Web App</a>
<a title="SpringSide" href="http://www.csdn.net/tag/springside" target="_blank" onclick="LogClickCount(this,336);">SpringSide</a>
<a title="Maemo" href="http://www.csdn.net/tag/maemo" target="_blank" onclick="LogClickCount(this,336);">Maemo</a>
<a title="Compuware" href="http://www.csdn.net/tag/compuware" target="_blank" onclick="LogClickCount(this,336);">Compuware</a>
<a title="大数据" href="http://www.csdn.net/tag/%E5%A4%A7%E6%95%B0%E6%8D%AE" target="_blank" onclick="LogClickCount(this,336);">大数据</a>
<a title="aptech" href="http://www.csdn.net/tag/aptech" target="_blank" onclick="LogClickCount(this,336);">aptech</a>
<a title="Perl" href="http://www.csdn.net/tag/perl" target="_blank" onclick="LogClickCount(this,336);">Perl</a>
<a title="Tornado" href="http://www.csdn.net/tag/tornado" target="_blank" onclick="LogClickCount(this,336);">Tornado</a>
<a title="Ruby" href="http://www.csdn.net/tag/ruby" target="_blank" onclick="LogClickCount(this,336);">Ruby</a>
<a title="Hibernate" href="http://www.csdn.net/hibernate" target="_blank" onclick="LogClickCount(this,336);">Hibernate</a>
<a title="ThinkPHP" href="http://www.csdn.net/tag/thinkphp" target="_blank" onclick="LogClickCount(this,336);">ThinkPHP</a>
<a title="HBase" href="http://www.csdn.net/tag/hbase" target="_blank" onclick="LogClickCount(this,336);">HBase</a>
<a title="Pure" href="http://www.csdn.net/tag/pure" target="_blank" onclick="LogClickCount(this,336);">Pure</a>
<a title="Solr" href="http://www.csdn.net/tag/solr" target="_blank" onclick="LogClickCount(this,336);">Solr</a>
<a title="Angular" href="http://www.csdn.net/tag/angular" target="_blank" onclick="LogClickCount(this,336);">Angular</a>
<a title="Cloud Foundry" href="http://www.csdn.net/tag/cloudfoundry" target="_blank" onclick="LogClickCount(this,336);">Cloud Foundry</a>
<a title="Redis" href="http://www.csdn.net/tag/redis" target="_blank" onclick="LogClickCount(this,336);">Redis</a>
<a title="Scala" href="http://www.csdn.net/tag/scala" target="_blank" onclick="LogClickCount(this,336);">Scala</a>
<a title="Django" href="http://www.csdn.net/tag/django" target="_blank" onclick="LogClickCount(this,336);">Django</a>
<a title="Bootstrap" href="http://www.csdn.net/tag/bootstrap" target="_blank" onclick="LogClickCount(this,336);">Bootstrap</a>
    </div>

</div>
  <script language="javascript" type="text/javascript">     
      $(function(){
              setTimeout(function(){
                  $.get("/xyz_lmn/svc/GetTagContent",function(data){
                      $(".tag_list").html(data).show();
                  });     
              });
          },500);                       
 </script> 


<div id="pop_win" style="display:none ;position: absolute; z-index: 10000; border: 1px solid rgb(220, 220, 220); top: 222.5px; left: 630px; opacity: 1; background: none 0px 0px repeat scroll rgb(255, 255, 255);">
    
</div>
<div id="popup_mask"></div>
<style>
    #popup_mask
    {
        position: absolute;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 9999;
        left: 0px;
        top: 0px;
        opacity: 0.3;
        filter: alpha(opacity=30);
        display: none;
    }

</style>




<script type="text/javascript">
    $(function(){
        setTimeout(function(){
            $(".comment_body:contains('回复')").each(function(index,item){
                var u=$(this).text().split('：')[0].toString().replace("回复","")
                var thisComment=$(this);
                if(u)
                {
                    $.getJSON("https://passport.csdn.net/get/nick?callback=?", {users: u}, function(a) {
                        if(a!=null&&a.data!=null&&a.data.length>0)
                        {
                            nick=a.data[0].n; 
                            if(u!=nick)
                            {
                                thisComment.text(thisComment.text().replace(u,nick));  
                            }
                        }       
                    });  
                }
            });         

        },200);  

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },5000);

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },10000);

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },15000);
        
        setTimeout(function(){
            $("a img[src='http://js.tongji.linezing.com/stats.gif']").parent().css({"position":"absolute","left":"50%"});
        },300);
    });

    function loginbox(){
        var $logpop=$("#pop_win");
        $logpop.html('<iframe src="https://passport.csdn.net/account/loginbox?service=http://static.blog.csdn.net/callback.htm" frameborder="0" height="600" width="400" scrolling="no"></iframe>');

        $('#popup_mask').css({
            opacity: 0.5,
            width: $( document ).width() + 'px',
            height:  $( document ).height() + 'px'
        });
        $('#popup_mask').css("display","block");
 
        $logpop.css( {
            top: ($( window ).height() - $logpop.height())/ 2  + $( window 
       ).scrollTop() + 'px',
            left:($( window ).width() - $logpop.width())/ 2
        } );
 
        setTimeout( function () {
            $logpop.show();
            $logpop.css( {
                opacity: 1
            } );
        }, 200 );
 
        $('#popup_mask').unbind("click");
        $('#popup_mask').bind("click", function(){
            $('#popup_mask').hide();
            var $clopop = $("#pop_win");
            $("#common_ask_div_sc").css("display","none");
            $clopop.css( {
                opacity: 0
            } );
            setTimeout( function () {
                $clopop.hide();
            }, 350 );
            return false;
        });
    }   

</script>
 <script language="javascript" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/async_new.js"></script>      


                        <div class="clear">
                        </div>
                    </div>                   
                
            </div>
                   
           <div id="side">
    <div class="side">
<div id="panel_Profile" class="panel">
<ul class="panel_head"><span>个人资料</span></ul>
<ul class="panel_body profile">
<div id="blog_userface">
    <a href="http://my.csdn.net/xyz_lmn" target="_blank">
    <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/1_xyz_lmn.jpg" title="访问我的空间" style="max-width:90%">
    </a>
    <br>
    <span><a href="http://my.csdn.net/xyz_lmn" class="user_name" target="_blank">xyz_lmn</a></span>
</div>
<div class="interact">

    <a href="javascript:void(0);" class="attent" id="span_add_follow" title="[加关注]"></a>

 <a href="javascript:void(0);" class="letter" title="[发私信]" onclick="window.open(&#39;http://msg.csdn.net/letters/model?receiver=xyz_lmn&#39;,&#39;_blank&#39;,&#39;height=350,width=700&#39;);_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_sixin&#39;])"></a>  
</div>
<div id="blog_medal">
                       <div class="ico_expert" onclick="javascript:location=&#39;http://blog.csdn.net/experts/rule.html&#39;" title="CSDN认证专家" style="cursor:pointer;width:60px;height:60px;background:url(&#39;http://c.csdnimg.cn/jifen/images/xunzhang/xunzhang/bokezhuanjiamiddle.png&#39;) no-repeat"></div>
                <div id="bms_box">
                                            <a target="_blank">
                                                    <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/zhuanlandaren.png" onmouseover="m_over_m(this,2)" onmouseout="m_out_m()" alt="2">
                                            </a>
               </div>
</div>
<ul id="blog_rank">
    <li>访问：<span>4006114次</span></li>
    <li>积分：<span>35548</span> </li>    
    <li>等级： <span style="position:relative;display:inline-block;z-index:1">
            <img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/blog8.png" alt="" style="vertical-align: middle;" id="leveImg">
            <div id="smallTittle" style=" position: absolute;  left: -24px;  top: 25px;  text-align: center;  width: 101px;  height: 32px;  background-color: #fff;  line-height: 32px;  border: 2px #DDDDDD solid;  box-shadow: 0px 2px 2px rgba (0,0,0,0.1);  display: none;   z-index: 999;">
            <div style="left: 42%;  top: -8px;  position: absolute;  width: 0;  height: 0;  border-left: 10px solid transparent;  border-right: 10px solid transparent;  border-bottom: 8px solid #EAEAEA;"></div>
            积分：35548 </div>
        </span>  </li>
    <li>排名：<span>第75名</span></li>
</ul>
<ul id="blog_statistics">
    <li>原创：<span>274篇</span></li>
    <li>转载：<span>195篇</span></li>
    <li>译文：<span>20篇</span></li>
    <li>评论：<span>1763条</span></li>
</ul>
</ul>
</div>




<div id="custom_column_9068886" class="panel">
<ul class="panel_head"><span>新浪微博</span></ul>
<ul class="panel_body">
<iframe width="100%" height="150" class="share_self" frameborder="0" scrolling="no" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/index.html"></iframe>
</ul>
</div>

<div id="custom_column_22012770" class="panel">
<ul class="panel_head"><span>android 开发群</span></ul>
<ul class="panel_body">
<div>
	<span style="font-weight: bold;"><span style="font-size:14px;color:#ff0000;">android 开发交流</span></span>
</div>
<br>


<div>
	<span style="font-weight: bold;"><span style="font-family: Arial, Console, Verdana, &#39;Courier New&#39;;  line-height: 14px; "><strong><span style="font-size:14px;color:#ff0000;">济南移动互联网：<br>173928818</span></strong></span><br>
	</span>
</div>

<br>
<div>
	<span style="font-weight: bold;"><span style="font-family: Arial, Console, Verdana, &#39;Courier New&#39;;  line-height: 14px; "><strong><span style="font-size:14px;color:#ff0000;">3群：281537853[满]</span></strong></span><br>
	</span>
</div>
<br>
<div>
	<span style="font-weight: bold;"><span style="font-family: Arial, Console, Verdana, &#39;Courier New&#39;;  line-height: 14px; "><strong><span style="font-size:14px;color:#ff0000;">1群：241395671[满]</span></strong></span><br>
	</span>
</div>
<br>
<div>
	<span style="font-weight: bold;"><span style="font-family: Arial, Console, Verdana, &#39;Courier New&#39;;  line-height: 14px; "><strong><span style="font-size:14px;color:#ff0000;">2群：278401545[满]</span></strong></span><br>
	</span>
</div>
<div>
	<span style="font-weight: bold;"><span style="font-family: Arial, Console, Verdana, &#39;Courier New&#39;;  line-height: 14px; "><strong><span style="font-size:18px;color:#ff0000;"></span></strong></span><br>
	</span>
</div>
</ul>
</div><div id="panel_Category" class="panel">
    <ul class="panel_head"><span>博客专栏</span></ul>
    <ul class="panel_body" id="sp_column">
    <table cellpadding="0" cellspacing="0"><tbody><tr>
    <td style="padding:10px 10px 0 0;">
    <a href="http://blog.csdn.net/column/details/android-performance.html" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20151123175856786" style="width:75px;height:75px;"></a>
    </td>
    <td style="padding:10px 0; vertical-align:top;">
    <a href="http://blog.csdn.net/column/details/android-performance.html" target="_blank">Android性能优化</a>
    <p>文章：10篇</p>
    <span>阅读：294985</span>
    </td>
    </tr></tbody></table>
    <table cellpadding="0" cellspacing="0"><tbody><tr>
    <td style="padding:10px 10px 0 0;">
    <a href="http://blog.csdn.net/column/details/xyzlmnios.html" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20151123175445161" style="width:75px;height:75px;"></a>
    </td>
    <td style="padding:10px 0; vertical-align:top;">
    <a href="http://blog.csdn.net/column/details/xyzlmnios.html" target="_blank">iOS学习</a>
    <p>文章：18篇</p>
    <span>阅读：420912</span>
    </td>
    </tr></tbody></table>
    <table cellpadding="0" cellspacing="0"><tbody><tr>
    <td style="padding:10px 10px 0 0;">
    <a href="http://blog.csdn.net/column/details/android-safe.html" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20151123175405239" style="width:75px;height:75px;"></a>
    </td>
    <td style="padding:10px 0; vertical-align:top;">
    <a href="http://blog.csdn.net/column/details/android-safe.html" target="_blank">android应用安全</a>
    <p>文章：7篇</p>
    <span>阅读：89828</span>
    </td>
    </tr></tbody></table>
    <table cellpadding="0" cellspacing="0"><tbody><tr>
    <td style="padding:10px 10px 0 0;">
    <a href="http://blog.csdn.net/column/details/android-jni.html" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20151123175257520" style="width:75px;height:75px;"></a>
    </td>
    <td style="padding:10px 0; vertical-align:top;">
    <a href="http://blog.csdn.net/column/details/android-jni.html" target="_blank">Android JNI入门</a>
    <p>文章：11篇</p>
    <span>阅读：115306</span>
    </td>
    </tr></tbody></table>
    <table cellpadding="0" cellspacing="0"><tbody><tr>
    <td style="padding:10px 10px 0 0;">
    <a href="http://blog.csdn.net/column/details/xyzlmnnetdev.html" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20151123175212302" style="width:75px;height:75px;"></a>
    </td>
    <td style="padding:10px 0; vertical-align:top;">
    <a href="http://blog.csdn.net/column/details/xyzlmnnetdev.html" target="_blank">Android网络开发</a>
    <p>文章：14篇</p>
    <span>阅读：211946</span>
    </td>
    </tr></tbody></table>
    <table cellpadding="0" cellspacing="0"><tbody><tr>
    <td style="padding:10px 10px 0 0;">
    <a href="http://blog.csdn.net/column/details/xyzlmn.html" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/20151123174945786" style="width:75px;height:75px;"></a>
    </td>
    <td style="padding:10px 0; vertical-align:top;">
    <a href="http://blog.csdn.net/column/details/xyzlmn.html" target="_blank">Android UI开发专栏</a>
    <p>文章：59篇</p>
    <span>阅读：1280958</span>
    </td>
    </tr></tbody></table>
    </ul>
</div><div id="panel_Category" class="panel">
<ul class="panel_head"><span>文章分类</span></ul>
<ul class="panel_body">    
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/912146" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android UI（常用）</a><span>(67)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/1395130" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android 应用安全</a><span>(12)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/566667" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android（综合）</a><span>(125)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/922246" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android NDK（含语音编解码）</a><span>(13)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/919453" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android 网络编程</a><span>(18)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/2299565" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android性能优化</a><span>(11)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/1127423" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android web（html5）</a><span>(9)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/639384" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">iOS开发</a><span>(20)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/912121" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android 工具</a><span>(11)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/924028" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">android xmpp</a><span>(6)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/1252855" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">MongoDB</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/761338" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">SIP/RTP/RTSP</a><span>(24)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/613644" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">技术思考</a><span>(8)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/614397" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Windows Mobile UI</a><span>(10)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/566712" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Windows Mobile</a><span>(67)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/626565" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">java</a><span>(9)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/599548" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">c#</a><span>(13)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/620699" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">基础知识</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/568848" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">思考人生</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/547348" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">Web 方向</a><span>(6)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/652736" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">WINCE程序设计笔记</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/646201" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">VC++</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/xyz_lmn/article/category/646771" onclick="_gaq.push([&#39;_trackEvent&#39;,&#39;function&#39;, &#39;onclick&#39;, &#39;blog_articles_wenzhangfenlei&#39;]); ">win32</a><span>(15)</span>
                </li>
</ul>
</div><div id="panel_Archive" class="panel">
<ul class="panel_head"><span>文章存档</span></ul>
<ul class="panel_body">
<div id="archive_list"><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2015/09">2015年09月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2015/08">2015年08月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2015/01">2015年01月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/11">2014年11月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/10">2014年10月</a><span>(1)</span></li><span class="hidelist" style="display: none;"><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/09">2014年09月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/08">2014年08月</a><span>(4)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/07">2014年07月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/06">2014年06月</a><span>(3)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/05">2014年05月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/04">2014年04月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/03">2014年03月</a><span>(6)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2014/02">2014年02月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/12">2013年12月</a><span>(6)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/11">2013年11月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/10">2013年10月</a><span>(11)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/09">2013年09月</a><span>(3)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/08">2013年08月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/07">2013年07月</a><span>(7)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/06">2013年06月</a><span>(7)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/05">2013年05月</a><span>(7)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/04">2013年04月</a><span>(4)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/03">2013年03月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/02">2013年02月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2013/01">2013年01月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/12">2012年12月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/11">2012年11月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/10">2012年10月</a><span>(10)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/09">2012年09月</a><span>(11)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/08">2012年08月</a><span>(7)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/07">2012年07月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/06">2012年06月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/05">2012年05月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/04">2012年04月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/03">2012年03月</a><span>(8)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/02">2012年02月</a><span>(4)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2012/01">2012年01月</a><span>(4)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/12">2011年12月</a><span>(8)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/11">2011年11月</a><span>(23)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/10">2011年10月</a><span>(23)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/06">2011年06月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/05">2011年05月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/04">2011年04月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/03">2011年03月</a><span>(3)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/02">2011年02月</a><span>(9)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2011/01">2011年01月</a><span>(15)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/12">2010年12月</a><span>(34)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/11">2010年11月</a><span>(11)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/10">2010年10月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/09">2010年09月</a><span>(3)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/08">2010年08月</a><span>(3)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/07">2010年07月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/06">2010年06月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/05">2010年05月</a><span>(2)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/04">2010年04月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/03">2010年03月</a><span>(14)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/02">2010年02月</a><span>(23)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2010/01">2010年01月</a><span>(22)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/12">2009年12月</a><span>(25)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/11">2009年11月</a><span>(46)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/10">2009年10月</a><span>(7)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/09">2009年09月</a><span>(9)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/08">2009年08月</a><span>(30)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/07">2009年07月</a><span>(8)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/06">2009年06月</a><span>(1)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/05">2009年05月</a><span>(5)</span></li><li><a href="http://blog.csdn.net/xyz_lmn/article/month/2009/03">2009年03月</a><span>(1)</span></li></span><div id="archive_list_button" class="list_closed" style="display: none;">展开</div></div>
</ul>
</div>
<div id="hotarticls" class="panel">
<ul class="panel_head">
    <span>       
阅读排行    </span>
</ul>

<ul class="panel_body itemlist">
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/8132420" title="Android UI开发第二十四篇——Action Bar">Android UI开发第二十四篇——Action Bar</a><span>(145989)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/7004710" title="adb logcat 查看日志">adb logcat 查看日志</a><span>(94680)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/9312837" title="iOS学习笔记（十六）——数据库操作(使用FMDB)">iOS学习笔记（十六）——数据库操作(使用FMDB)</a><span>(94067)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/12165391" title="网络通信框架Volley使用详细说明">网络通信框架Volley使用详细说明</a><span>(80240)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/8946205" title="Android Studio 初体验">Android Studio 初体验</a><span>(77327)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/5908355" title="Android中Intent传递对象的两种方法(Serializable,Parcelable)">Android中Intent传递对象的两种方法(Serializable,Parcelable)</a><span>(73727)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/6927763" title="Android FragmentManage FragmentTransaction介绍">Android FragmentManage FragmentTransaction介绍</a><span>(72654)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/14524567" title="Android抽象布局——include、merge 、ViewStub">Android抽象布局——include、merge 、ViewStub</a><span>(57922)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/8968213" title="iOS学习笔记（十七）——文件操作（NSFileManager）">iOS学习笔记（十七）——文件操作（NSFileManager）</a><span>(44386)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/7001892" title="adb shell dumpsys 命令 查看内存">adb shell dumpsys 命令 查看内存</a><span>(43368)</span>
</li>
</ul>
</div>
<div id="homepageArticles" class="panel tracking-ad" data-mod="popu_4">
<ul class="panel_head"><span>推荐文章</span></ul>
<ul class="panel_body" id="ad_commend">
<ul>
<li><a href="http://blog.csdn.net/jonstank2013/article/details/51118563" target="_blank">*Android从启动到程序运行发生的事情</a></li>
<li><a href="http://blog.csdn.net/loveyaozu/article/details/51149467" target="_blank">*Android杂谈之RadioGroup+ViewPager制作的底部导航栏</a></li>
<li><a href="http://blog.csdn.net/fanyun_01/article/details/50921678" target="_blank">*浅谈Storm流式处理框架</a></li>
<li><a href="http://blog.csdn.net/xoyojank/article/details/50927572" target="_blank">*Oculus Rift, HTC Vive, SONY PSVR的全面对比</a></li>
<li><a href="http://blog.csdn.net/apksafe/article/details/51038646#comments" target="_blank">*Android移动应用开发中常见的经验技巧总结</a></li>
<li><a href="http://blog.csdn.net/jonstank2013/article/details/50981404" target="_blank">*Rxjava原理探索：切换线程，变换</a></li>

</ul></ul>
</div>


<div id="newcomments" class="panel">
<ul class="panel_head"><span>最新评论</span></ul>
<ul class="panel_body itemlist">
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/12517911#comments">Android中的dispatchTouchEvent()、onInterceptTouchEvent()和onTouchEvent()</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/u014710198" class="user_name">萧樂</a>:
图相当不错，感谢楼主
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/14524567#comments">Android抽象布局——include、merge 、ViewStub</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/wddzlm" class="user_name">wddzlm</a>:
说得挺好
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/35552103#comments">Material Design</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/xjj1040249553" class="user_name">保尔-科查筋</a>:
Material Design是新的设计语言？我笑了，只不过一种风格而已，完全是用Android的自...
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/48055919#comments">android CoordinatorLayout使用</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/Miracles_Hed" class="user_name">Miracles_Hed</a>:
66666666666666
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/6906286#comments">Android UI开发第三篇——popupwindow</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/qq_21413417" class="user_name">李文_广</a>:
博主，我又来学习你的这个了，顺便做了个笔记，你看算侵权么，算的话我就删了--http://blog....
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/6906268#comments">Android  UI开发第二篇——多级列表（ExpandableListView）</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/qq_21413417" class="user_name">李文_广</a>:
博主能转载么，加了点自己的。如果不能我就删了，http://blog.csdn.net/qq_214...
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/6906268#comments">android CoordinatorLayout使用</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/zhousdoer" class="user_name">zhousdoer</a>:
材料设计到底有多少的控件啊，感觉越看越多了了
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/18444827#comments">手机刷卡器分析</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/lun123451" class="user_name">lun123451</a>:
楼主有没有相关的代码
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/8803357#comments">android应用安全——通信安全（android https）</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/learner576539763" class="user_name">i_rogue</a>:
大神再开几个群呗
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/xyz_lmn/article/details/8803357#comments">Android抽象布局——include、merge 、ViewStub</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/ssqwyt" class="user_name">ssqwyt</a>:
merge这个标签对于性能优化方面很有用，省了一些事，谢谢楼主的分享~~~
    </p>
    </li>
</ul>
</div>
<div id="hotarticls2" class="panel">
<ul class="panel_head"><span>评论排行</span></ul>
<ul class="panel_body itemlist">
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/21799725" title="Android UI开发第四十一篇——墨迹天气3.0引导界面及动画实现">Android UI开发第四十一篇——墨迹天气3.0引导界面及动画实现</a><span>(116)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/13745489" title="ListView具有多种item布局——实现微信对话列">ListView具有多种item布局——实现微信对话列</a><span>(64)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/7587807" title="AndroidPN真机环境测试">AndroidPN真机环境测试</a><span>(58)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/6921097" title="Android UI开发第十六篇——分享一个popuwindow实例">Android UI开发第十六篇——分享一个popuwindow实例</a><span>(45)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/8013490" title="speex编解码在android上实现">speex编解码在android上实现</a><span>(37)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/41411355" title="Android 知识图谱">Android 知识图谱</a><span>(37)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/12746581" title="Android UI开发第三十六篇——使用Volley加载图片列表">Android UI开发第三十六篇——使用Volley加载图片列表</a><span>(32)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/12523895" title="Android UI开发第三十二篇——Creating a Navigation Drawer">Android UI开发第三十二篇——Creating a Navigation Drawer</a><span>(32)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/8132420" title="Android UI开发第二十四篇——Action Bar">Android UI开发第二十四篇——Action Bar</a><span>(29)</span>
</li>
<li>
<a href="http://blog.csdn.net/xyz_lmn/article/details/17575709" title="开发一款高端大气上档次的android应用需要必备的知识——记于2013年末">开发一款高端大气上档次的android应用需要必备的知识——记于2013年末</a><span>(29)</span>
</li>
</ul>
</div>
<div class="panel" id="panel_Search">
    <ul class="panel_head"><span>文章搜索</span></ul>
    <ul class="panel_body">
        <form id="frmSearch" action="http://so.csdn.net/search" class="form_search" target="_blank">
        <span><input id="inputSearch" type="text" class="blogsearch" title="请输入关键字"></span>
        <input id="btnSubmit" type="button" value="搜索" title="search in blog">
        <input type="hidden" name="q" id="inputQ">
        <input type="hidden" name="t" value="blog">
        <a id="btnSearchBlog" target="_blank"></a>
        </form>
    </ul>
</div>

<script type="text/javascript">
    $(function () {
        $("#btnSubmit").click(function () {           
            search();
        });

        $("#frmSearch").submit(function () {
            search();
            return false;
        });

        function search()
        {
            var url = "http://so.csdn.net/so/search/s.do?q=" + encodeURIComponent($("#inputSearch").val()) + "&u=" + username + "&t=blog";
            window.location.href = url;
        }   
    });
</script>    </div>
    <div class="clear">
    </div>
 </div>   
            <div class="clear">
            </div>
        </div>

        

<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/cnick.js"></script>
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/newblog.min.js"></script>


<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/showblogmedal.ashx"></script>
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/JavaScript1.js"></script><link rel="stylesheet" type="text/css" href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/pub_footer_2014.css"><div class="pub_fo"><div id="pub_footerall" class="pub_footer_new"><dl><dt></dt> <dd class="foot_sub_menu"><a href="http://www.csdn.net/company/about.html" target="_blank">公司简介</a><span>|</span><a href="http://www.csdn.net/company/recruit.html" target="_blank">招贤纳士</a><span>|</span><a href="http://www.csdn.net/company/marketing.html" target="_blank">广告服务</a><span>|</span><a href="http://www.csdn.net/company/account.html" target="_blank">银行汇款帐号</a><span>|</span><a href="http://www.csdn.net/company/contact.html" target="_blank">联系方式</a><span>|</span><a href="http://www.csdn.net/company/statement.html" target="_blank">版权声明</a><span>|</span><a href="http://www.csdn.net/company/layer.html" target="_blank">法律顾问</a><span>|</span><a href="mailto:webmaster@csdn.net">问题报告</a><span>|</span><a target="_blank" href="http://www.csdn.net/friendlink.html">合作伙伴</a><span>|</span><a href="http://bbs.csdn.net/forums/Service" target="_blank">论坛反馈</a></dd><dd class="foot_contact"><a href="http://wpa.qq.com/msgrd?v=3&uin=2355263776&site=qq&menu=yes" target="_blank" class="qq">网站客服</a><a href="http://wpa.qq.com/msgrd?v=3&uin=2251809102&site=qq&menu=yes" target="_blank" class="qq">杂志客服</a><a href="http://e.weibo.com/csdnsupport/profile" target="_blank" class="weibo">微博客服</a><a href="mailto:webmaster@csdn.net" class="email" title="联系邮箱">webmaster@csdn.net</a><span class="phone" title="服务热线">400-600-2320</span><span class="interval">|</span><span>北京创新乐知信息技术有限公司 版权所有</span><span class="interval">|</span><span>江苏乐知网络技术有限公司 提供商务支持</span></dd><dd class="foot_copyright"><span>京&nbsp;ICP&nbsp;证&nbsp;09002463&nbsp;号</span><span class="interval">|</span><span>Copyright © 1999-2014, CSDN.NET, All Rights Reserved&nbsp;</span><a href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202001032100010" target="_blank"><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/gongshang_logos.gif" alt="GongshangLogo" title=""></a></dd></dl></div></div><div id="note1" class="csdn_note" style="display:none; position:absolute; z-index:9999; width:440px">  <span class="notice_top_arrow"><span class="inner"></span></span>  <div class="box"></div></div><div class="csdn_notice_tip" style="display: none; position: absolute; z-index: 9990; width: 170px;">  <iframe src="about:blank" frameborder="0" scrolling="no" style="z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;background:transparent"></iframe>  <div class="tip_text">您有<strong>0</strong>条新通知</div>  <a href="javascript:void 0" class="close2"></a></div><script id="noticeScript" type="text/javascript" btnid="header_notice_num" wrapid="note1" count="5" subcount="5" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/notify.js"></script>

    <script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/login.js"></script>
<script type="text/javascript">document.write("<img src=http://counter.csdn.net/pv.aspx?id=24 border=0 width=0 height=0>");</script><img src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/pv.aspx" border="0" width="0" height="0">
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/counter.js"></script><script type="text/javascript" charset="UTF-8" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/msg.popup.js"></script>
<script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ad-blog.js"></script><script type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ad-ms1609_2.js"></script>

<script type="text/javascript">
    $(function () {
        function __get_code_toolbar(snippet_id) {
            return $("<span class='tracking-ad' data-mod='popu_167'><a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "' target='_blank' title='在CODE上查看代码片'  style='text-indent:0;'><img src='https://code.csdn.net/assets/CODE_ico.png' width=12 height=12 alt='在CODE上查看代码片' style='position:relative;top:1px;left:2px;'/></a></span>"
                    + "<span class='tracking-ad' data-mod='popu_170'><a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "/fork' target='_blank' title='派生到我的代码片' style='text-indent:0;'><img src='https://code.csdn.net/assets/ico_fork.svg' width=12 height=12 alt='派生到我的代码片' style='position:relative;top:2px;left:2px;'/></a></span>");
        }
        
        $("[code_snippet_id]").each(function () {
            __s_id = $(this).attr("code_snippet_id");
            if (__s_id != null && __s_id != "" && __s_id != 0 && parseInt(__s_id) > 70020) {
                __code_tool = __get_code_toolbar(__s_id);
                $(this).prev().find(".tools").append(__code_tool);
            }
        });

        $(".bar").show();
    });
</script>




    </div><input type="hidden" id="aa_g_data_ids">
      <!--new top-->
    
    <script id="csdn-toolbar-id" btnid="header_notice_num" wrapid="note1" count="5" subcount="5" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/toolbar.js"></script>
     <!--new top-->
   
    <link href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ask_float_block.css" type="text/css" rel="stylesheet">
    <script language="JavaScript" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/wmd.js"></script>
    <script language="JavaScript" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/showdown.js"></script>
    <script language="JavaScript" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/prettify.js"></script>
    <script language="JavaScript" type="text/javascript" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ask_float_block.js"></script>
   

  <div id="a52b5334d" style="width: 1px; height: 1px; display: none;">
                    <script id="adJs52b5334" src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/52b5334.js"></script>
                    <script>document.getElementById("adJs52b5334").src = "http://ads.csdn.net/js/opt/52b5334.js?t=" + Math.random();</script>
   </div>


   
 <div id="tag-suggest-pop">
  <div class="relative">
    <div class="close"></div>
    <div class="content"></div>
  </div>
</div><link rel="stylesheet" type="text/css" media="screen" href="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/ask_float_fonts_css-6b30a53970eb5c3a2a045e3df585b475.css"><div data-mod="popu_64" class="tracking-ad" chg-blk="0"><a id="com-quick-reply" title="快速回复" style="top:327px"></a><a id="com-d-top-a" style="top: 365px; display: block;" title="返回顶部" onclick=""></a> </div><div class="pop_edit ask_second comm_ask_second"><h3>提问</h3><span class="ask_float_span">您的问题将会被发布在“<a class="ask_float_channel" href="http://ask.csdn.net/" target="_blank" style="cursor:pointer">技术问答</a>”频道</span><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" nodetype="close" class="close">×</a><div class="context"><div class="err_div"><span class="err_ico"></span><span class="err_txt">该问题已存在，请勿重复提问</span></div><div class="input_div"><input id="askInputSecond" type="text" style="font-size:14px;" placeholder="问题标题"></div><div class="cm_box"><div class="cm_dialog"></div> <div class="pop_cm cm_add_link"><input type="text" placeholder="链接内容" id="af_cm_link_txt"><input type="text" placeholder="链接地址" id="af_cm_link_url"><input type="text" placeholder="链接提示" id="af_cm_link_tit"><div class="text-right"><span class="btn btn-default btn-sm" id="add_link_btn">插入链接</span> </div> </div><div class="pop_cm cm_add_img"><div class="nav-tabs"><a class="img_tab active" href="http://blog.csdn.net/xyz_lmn/article/details/38667899#tab_upload">本地上传</a><a class="img_tab" href="http://blog.csdn.net/xyz_lmn/article/details/38667899#tab_weburl">网络图片</a></div><div class="tab_panel active" id="tab_upload"><div class="set_img"><iframe src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/upload.html"></iframe></div></div><div class="tab_panel" id="tab_weburl"><input type="text" placeholder="图片地址" id="af_cm_img_url"><input type="text" placeholder="图片说明" id="af_cm_img_alt"><div class="text-right"><span class="btn btn-default btn-sm" id="add_img_btn">插入图片</span> </div></div> </div></div> <textarea id="editor_all" rows="8" style="display: none;"></textarea><div class="editor-toolbar"><i class="separator">|</i><a class="icon-headline" title="标题一（Ctrl+Alt+1）"></a><a class="icon-heading" title="标题二（Ctrl+Alt+2）"></a><a class="icon-bold" title="粗体（Ctrl+B）"></a><a class="icon-italic" title="斜体（Ctrl+I）"></a><i class="separator">|</i><a class="icon-quote-left" title="引用（Ctrl+’）"></a><a class="icon-code" title="插入代码片（Ctrl+,）"></a><a class="icon-list-ul" title="无序列表（Ctrl+L）"></a><a class="icon-list-ol" title="有序列表（Ctrl+Alt+L）"></a><i class="separator">|</i><a class="icon-link" title="添加链接（Ctrl+K）"></a><a class="icon-picture" title="添加图片（Ctrl+Alt+I）"></a><i class="separator">|</i><a class="icon-reply" title="撤退（Ctrl+Z）"></a><a class="icon-share-alt" title="前进（Ctrl+Shift+Z）"></a><i class="separator">|</i><a class="icon-info" href="http://ask.csdn.net/pages/markdown" target="_blank" title="markdown语法参考"></a><a class="icon-preview" title="预览"></a><i class="separator">|</i></div><div class="CodeMirror cm-s-paper CodeMirror-focused"><div style="overflow: hidden; position: relative; width: 3px; height: 0px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; padding: 0px; width: 1000px; height: 1em; outline: none; font-size: 4px;"></textarea></div><div class="CodeMirror-hscrollbar"><div style="height: 1px;"></div></div><div class="CodeMirror-vscrollbar"><div style="width: 1px;"></div></div><div class="CodeMirror-scrollbar-filler"></div><div class="CodeMirror-gutter-filler"></div><div class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer" style="min-width: 33px;"><div style="position: relative;"><div class="CodeMirror-lines"><div style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre>&nbsp;<span style="display: inline-block; width: 1px; margin-right: -1px;">&nbsp;</span></pre></div><div style="position: relative; z-index: 1;"></div><div class="CodeMirror-code"></div><div class="CodeMirror-cursor" style="">&nbsp;</div><div class="CodeMirror-cursor CodeMirror-secondarycursor" style="">&nbsp;</div></div></div></div></div><div style="position: absolute; height: 30px; width: 1px;"></div><div class="CodeMirror-gutters" style="display: none;"></div></div></div><div class="editor-statusbar"><span class="lines">0</span><span class="words">0</span><span class="cursor">0:0</span></div><div class="div_tags clearfix"><div id="divSearchTags" class="tags_con"><input type="text"></div><input type="hidden" name="txtSearchTags"></div><div id="ask2_tagRecomm_div" class="drt_tagRecomm tracking-ad" data-mod="popu_73"><span class="drt_tit">推荐标签：</span></div></div><div class="success"><div class="left_area"><input id="chk_cb" type="checkbox"><span class="wyxs">我要悬赏</span><input id="cb_num" class="cb_num" readonly="true"><span class="phib_rii"><span> 币</span></span></div><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" nodetype="cancel" class="cancel">取消</a><a href="http://blog.csdn.net/xyz_lmn/article/details/38667899#" nodetype="ok" class="ok">发布</a></div></div><div id="common_ask_div_sc" class="searchContainer"><div class="sTitle">可能存在类似的问题：</div><div class="sFooter"><a class="sFirstNewAsk">我想提一个新问题</a></div></div><iframe src="./android 动画分类 - 张兴业的博客 - 博客频道 - CSDN.NET_files/hp-apr-server-pip-300-250-30k.html" style="width: 1px; height: 1px; position: absolute; visibility: hidden;"></iframe></body></html>